Hex Color #AF32BD - Custom Color
Color Codes
HEX
#AF32BD
RGB
rgb(175, 50, 189)
HSL
hsl(294, 58%, 47%)
CMYK
cmyk(7%, 74%, 0%, 26%)
HSV
hsv(294, 74%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.23:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.01: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: #AF32BD;
color: #AF32BD;
border-color: #AF32BD;
}
Tailwind CSS (with arbitrary values)
bg-[#AF32BD]
text-[#AF32BD]
border-[#AF32BD]
// Example usage:
<div className="bg-[#AF32BD]">