Hex Color #DABEF1 - Custom Color
Color Codes
HEX
#DABEF1
RGB
rgb(218, 190, 241)
HSL
hsl(273, 65%, 85%)
CMYK
cmyk(10%, 21%, 0%, 5%)
HSV
hsv(273, 21%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.62: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: #DABEF1;
color: #DABEF1;
border-color: #DABEF1;
}
Tailwind CSS (with arbitrary values)
bg-[#DABEF1]
text-[#DABEF1]
border-[#DABEF1]
// Example usage:
<div className="bg-[#DABEF1]">