Hex Color #CC06F9 - Custom Color
Color Codes
HEX
#CC06F9
RGB
rgb(204, 6, 249)
HSL
hsl(289, 95%, 50%)
CMYK
cmyk(18%, 98%, 0%, 2%)
HSV
hsv(289, 98%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.23:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.96:1
Pass - WCAG AA (Normal Text)
Fail - 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: #CC06F9;
color: #CC06F9;
border-color: #CC06F9;
}
Tailwind CSS (with arbitrary values)
bg-[#CC06F9]
text-[#CC06F9]
border-[#CC06F9]
// Example usage:
<div className="bg-[#CC06F9]">