Hex Color #A317DD - Custom Color
Color Codes
HEX
#A317DD
RGB
rgb(163, 23, 221)
HSL
hsl(282, 81%, 48%)
CMYK
cmyk(26%, 90%, 0%, 13%)
HSV
hsv(282, 90%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.64:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.72: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: #A317DD;
color: #A317DD;
border-color: #A317DD;
}
Tailwind CSS (with arbitrary values)
bg-[#A317DD]
text-[#A317DD]
border-[#A317DD]
// Example usage:
<div className="bg-[#A317DD]">