Hex Color #E9A8FF - Custom Color
Color Codes
HEX
#E9A8FF
RGB
rgb(233, 168, 255)
HSL
hsl(285, 100%, 83%)
CMYK
cmyk(9%, 34%, 0%, 0%)
HSV
hsv(285, 34%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.51:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #E9A8FF;
color: #E9A8FF;
border-color: #E9A8FF;
}
Tailwind CSS (with arbitrary values)
bg-[#E9A8FF]
text-[#E9A8FF]
border-[#E9A8FF]
// Example usage:
<div className="bg-[#E9A8FF]">