Hex Color #E9C2FE - Custom Color
Color Codes
HEX
#E9C2FE
RGB
rgb(233, 194, 254)
HSL
hsl(279, 97%, 88%)
CMYK
cmyk(8%, 24%, 0%, 0%)
HSV
hsv(279, 24%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.61: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: #E9C2FE;
color: #E9C2FE;
border-color: #E9C2FE;
}
Tailwind CSS (with arbitrary values)
bg-[#E9C2FE]
text-[#E9C2FE]
border-[#E9C2FE]
// Example usage:
<div className="bg-[#E9C2FE]">