Hex Color #A17AFC - Custom Color
Color Codes
HEX
#A17AFC
RGB
rgb(161, 122, 252)
HSL
hsl(258, 96%, 73%)
CMYK
cmyk(36%, 52%, 0%, 1%)
HSV
hsv(258, 52%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.13:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.70:1
Pass - 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: #A17AFC;
color: #A17AFC;
border-color: #A17AFC;
}
Tailwind CSS (with arbitrary values)
bg-[#A17AFC]
text-[#A17AFC]
border-[#A17AFC]
// Example usage:
<div className="bg-[#A17AFC]">