Hex Color #E7ABF0 - Custom Color
Color Codes
HEX
#E7ABF0
RGB
rgb(231, 171, 240)
HSL
hsl(292, 70%, 81%)
CMYK
cmyk(4%, 29%, 0%, 6%)
HSV
hsv(292, 29%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.48: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: #E7ABF0;
color: #E7ABF0;
border-color: #E7ABF0;
}
Tailwind CSS (with arbitrary values)
bg-[#E7ABF0]
text-[#E7ABF0]
border-[#E7ABF0]
// Example usage:
<div className="bg-[#E7ABF0]">