Hex Color #A022F4 - Custom Color
Color Codes
HEX
#A022F4
RGB
rgb(160, 34, 244)
HSL
hsl(276, 91%, 55%)
CMYK
cmyk(34%, 86%, 0%, 4%)
HSV
hsv(276, 86%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.21:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.03: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: #A022F4;
color: #A022F4;
border-color: #A022F4;
}
Tailwind CSS (with arbitrary values)
bg-[#A022F4]
text-[#A022F4]
border-[#A022F4]
// Example usage:
<div className="bg-[#A022F4]">