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