Hex Color #EA81DB - Custom Color
Color Codes
HEX
#EA81DB
RGB
rgb(234, 129, 219)
HSL
hsl(309, 71%, 71%)
CMYK
cmyk(0%, 45%, 6%, 8%)
HSV
hsv(309, 45%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.42:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.66: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: #EA81DB;
color: #EA81DB;
border-color: #EA81DB;
}
Tailwind CSS (with arbitrary values)
bg-[#EA81DB]
text-[#EA81DB]
border-[#EA81DB]
// Example usage:
<div className="bg-[#EA81DB]">