Hex Color #A622FC - Custom Color
Color Codes
HEX
#A622FC
RGB
rgb(166, 34, 252)
HSL
hsl(276, 97%, 56%)
CMYK
cmyk(34%, 87%, 0%, 1%)
HSV
hsv(276, 87%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.93:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.26: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: #A622FC;
color: #A622FC;
border-color: #A622FC;
}
Tailwind CSS (with arbitrary values)
bg-[#A622FC]
text-[#A622FC]
border-[#A622FC]
// Example usage:
<div className="bg-[#A622FC]">