Hex Color #C922D4 - Custom Color
Color Codes
HEX
#C922D4
RGB
rgb(201, 34, 212)
HSL
hsl(296, 72%, 48%)
CMYK
cmyk(5%, 84%, 0%, 17%)
HSV
hsv(296, 84%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.50:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.66: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: #C922D4;
color: #C922D4;
border-color: #C922D4;
}
Tailwind CSS (with arbitrary values)
bg-[#C922D4]
text-[#C922D4]
border-[#C922D4]
// Example usage:
<div className="bg-[#C922D4]">