Hex Color #C22BD1 - Custom Color
Color Codes
HEX
#C22BD1
RGB
rgb(194, 43, 209)
HSL
hsl(295, 66%, 49%)
CMYK
cmyk(7%, 79%, 0%, 18%)
HSV
hsv(295, 79%, 82%)
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: #C22BD1;
color: #C22BD1;
border-color: #C22BD1;
}
Tailwind CSS (with arbitrary values)
bg-[#C22BD1]
text-[#C22BD1]
border-[#C22BD1]
// Example usage:
<div className="bg-[#C22BD1]">