Hex Color #DABAE9 - Custom Color
Color Codes
HEX
#DABAE9
RGB
rgb(218, 186, 233)
HSL
hsl(281, 52%, 82%)
CMYK
cmyk(6%, 20%, 0%, 9%)
HSV
hsv(281, 20%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.72:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.18: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: #DABAE9;
color: #DABAE9;
border-color: #DABAE9;
}
Tailwind CSS (with arbitrary values)
bg-[#DABAE9]
text-[#DABAE9]
border-[#DABAE9]
// Example usage:
<div className="bg-[#DABAE9]">