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