Hex Color #CC01DF - Custom Color
Color Codes
HEX
#CC01DF
RGB
rgb(204, 1, 223)
HSL
hsl(295, 99%, 44%)
CMYK
cmyk(9%, 100%, 0%, 13%)
HSV
hsv(295, 100%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.53:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.64: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: #CC01DF;
color: #CC01DF;
border-color: #CC01DF;
}
Tailwind CSS (with arbitrary values)
bg-[#CC01DF]
text-[#CC01DF]
border-[#CC01DF]
// Example usage:
<div className="bg-[#CC01DF]">