Hex Color #CB78C6 - Custom Color
Color Codes
HEX
#CB78C6
RGB
rgb(203, 120, 198)
HSL
hsl(304, 44%, 63%)
CMYK
cmyk(0%, 41%, 2%, 20%)
HSV
hsv(304, 41%, 80%)
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: #CB78C6;
color: #CB78C6;
border-color: #CB78C6;
}
Tailwind CSS (with arbitrary values)
bg-[#CB78C6]
text-[#CB78C6]
border-[#CB78C6]
// Example usage:
<div className="bg-[#CB78C6]">