Hex Color #CAB0DD - Custom Color
Color Codes
HEX
#CAB0DD
RGB
rgb(202, 176, 221)
HSL
hsl(275, 40%, 78%)
CMYK
cmyk(9%, 20%, 0%, 13%)
HSV
hsv(275, 20%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.95:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.77: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: #CAB0DD;
color: #CAB0DD;
border-color: #CAB0DD;
}
Tailwind CSS (with arbitrary values)
bg-[#CAB0DD]
text-[#CAB0DD]
border-[#CAB0DD]
// Example usage:
<div className="bg-[#CAB0DD]">