Hex Color #A732CC - Custom Color
Color Codes
HEX
#A732CC
RGB
rgb(167, 50, 204)
HSL
hsl(286, 61%, 50%)
CMYK
cmyk(18%, 75%, 0%, 20%)
HSV
hsv(286, 75%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.29:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.97: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: #A732CC;
color: #A732CC;
border-color: #A732CC;
}
Tailwind CSS (with arbitrary values)
bg-[#A732CC]
text-[#A732CC]
border-[#A732CC]
// Example usage:
<div className="bg-[#A732CC]">