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