Hex Color #E2A4FE - Custom Color
Color Codes
HEX
#E2A4FE
RGB
rgb(226, 164, 254)
HSL
hsl(281, 98%, 82%)
CMYK
cmyk(11%, 35%, 0%, 0%)
HSV
hsv(281, 35%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.98:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #E2A4FE;
color: #E2A4FE;
border-color: #E2A4FE;
}
Tailwind CSS (with arbitrary values)
bg-[#E2A4FE]
text-[#E2A4FE]
border-[#E2A4FE]
// Example usage:
<div className="bg-[#E2A4FE]">