Hex Color #A02DBD - Custom Color
Color Codes
HEX
#A02DBD
RGB
rgb(160, 45, 189)
HSL
hsl(288, 62%, 46%)
CMYK
cmyk(15%, 76%, 0%, 26%)
HSV
hsv(288, 76%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.83:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.60: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: #A02DBD;
color: #A02DBD;
border-color: #A02DBD;
}
Tailwind CSS (with arbitrary values)
bg-[#A02DBD]
text-[#A02DBD]
border-[#A02DBD]
// Example usage:
<div className="bg-[#A02DBD]">