Hex Color #CDC9FA - Custom Color
Color Codes
HEX
#CDC9FA
RGB
rgb(205, 201, 250)
HSL
hsl(245, 83%, 88%)
CMYK
cmyk(18%, 20%, 0%, 2%)
HSV
hsv(245, 20%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.58:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.33: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: #CDC9FA;
color: #CDC9FA;
border-color: #CDC9FA;
}
Tailwind CSS (with arbitrary values)
bg-[#CDC9FA]
text-[#CDC9FA]
border-[#CDC9FA]
// Example usage:
<div className="bg-[#CDC9FA]">