Hex Color #EFD1FA - Custom Color
Color Codes
HEX
#EFD1FA
RGB
rgb(239, 209, 250)
HSL
hsl(284, 80%, 90%)
CMYK
cmyk(4%, 16%, 0%, 2%)
HSV
hsv(284, 16%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.38:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.17: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: #EFD1FA;
color: #EFD1FA;
border-color: #EFD1FA;
}
Tailwind CSS (with arbitrary values)
bg-[#EFD1FA]
text-[#EFD1FA]
border-[#EFD1FA]
// Example usage:
<div className="bg-[#EFD1FA]">