Hex Color #C229DA - Custom Color
Color Codes
HEX
#C229DA
RGB
rgb(194, 41, 218)
HSL
hsl(292, 71%, 51%)
CMYK
cmyk(11%, 81%, 0%, 15%)
HSV
hsv(292, 81%, 85%)
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: #C229DA;
color: #C229DA;
border-color: #C229DA;
}
Tailwind CSS (with arbitrary values)
bg-[#C229DA]
text-[#C229DA]
border-[#C229DA]
// Example usage:
<div className="bg-[#C229DA]">