Hex Color #E8AEFE - Custom Color
Color Codes
HEX
#E8AEFE
RGB
rgb(232, 174, 254)
HSL
hsl(284, 98%, 84%)
CMYK
cmyk(9%, 31%, 0%, 0%)
HSV
hsv(284, 31%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.76:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.92: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: #E8AEFE;
color: #E8AEFE;
border-color: #E8AEFE;
}
Tailwind CSS (with arbitrary values)
bg-[#E8AEFE]
text-[#E8AEFE]
border-[#E8AEFE]
// Example usage:
<div className="bg-[#E8AEFE]">