Hex Color #CF08CC - Custom Color
Color Codes
HEX
#CF08CC
RGB
rgb(207, 8, 204)
HSL
hsl(301, 93%, 42%)
CMYK
cmyk(0%, 96%, 1%, 19%)
HSV
hsv(301, 96%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.61:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.56: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: #CF08CC;
color: #CF08CC;
border-color: #CF08CC;
}
Tailwind CSS (with arbitrary values)
bg-[#CF08CC]
text-[#CF08CC]
border-[#CF08CC]
// Example usage:
<div className="bg-[#CF08CC]">