Hex Color #CC6EEF - Custom Color
Color Codes
HEX
#CC6EEF
RGB
rgb(204, 110, 239)
HSL
hsl(284, 80%, 68%)
CMYK
cmyk(15%, 54%, 0%, 6%)
HSV
hsv(284, 54%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.98:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.04: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: #CC6EEF;
color: #CC6EEF;
border-color: #CC6EEF;
}
Tailwind CSS (with arbitrary values)
bg-[#CC6EEF]
text-[#CC6EEF]
border-[#CC6EEF]
// Example usage:
<div className="bg-[#CC6EEF]">