Hex Color #E3A1DF - Custom Color
Color Codes
HEX
#E3A1DF
RGB
rgb(227, 161, 223)
HSL
hsl(304, 54%, 76%)
CMYK
cmyk(0%, 29%, 2%, 11%)
HSV
hsv(304, 29%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.43: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: #E3A1DF;
color: #E3A1DF;
border-color: #E3A1DF;
}
Tailwind CSS (with arbitrary values)
bg-[#E3A1DF]
text-[#E3A1DF]
border-[#E3A1DF]
// Example usage:
<div className="bg-[#E3A1DF]">