Hex Color #C21CC6 - Custom Color
Color Codes
HEX
#C21CC6
RGB
rgb(194, 28, 198)
HSL
hsl(299, 75%, 44%)
CMYK
cmyk(2%, 86%, 0%, 22%)
HSV
hsv(299, 86%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.91:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.28:1
Fail - 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: #C21CC6;
color: #C21CC6;
border-color: #C21CC6;
}
Tailwind CSS (with arbitrary values)
bg-[#C21CC6]
text-[#C21CC6]
border-[#C21CC6]
// Example usage:
<div className="bg-[#C21CC6]">