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