Hex Color #CCA2EA - Custom Color
Color Codes
HEX
#CCA2EA
RGB
rgb(204, 162, 234)
HSL
hsl(275, 63%, 78%)
CMYK
cmyk(13%, 31%, 0%, 8%)
HSV
hsv(275, 31%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.12:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.92: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: #CCA2EA;
color: #CCA2EA;
border-color: #CCA2EA;
}
Tailwind CSS (with arbitrary values)
bg-[#CCA2EA]
text-[#CCA2EA]
border-[#CCA2EA]
// Example usage:
<div className="bg-[#CCA2EA]">