Hex Color #CDA7FE - Custom Color
Color Codes
HEX
#CDA7FE
RGB
rgb(205, 167, 254)
HSL
hsl(266, 98%, 83%)
CMYK
cmyk(19%, 34%, 0%, 0%)
HSV
hsv(266, 34%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.55: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: #CDA7FE;
color: #CDA7FE;
border-color: #CDA7FE;
}
Tailwind CSS (with arbitrary values)
bg-[#CDA7FE]
text-[#CDA7FE]
border-[#CDA7FE]
// Example usage:
<div className="bg-[#CDA7FE]">