Hex Color #A581CF - Custom Color
Color Codes
HEX
#A581CF
RGB
rgb(165, 129, 207)
HSL
hsl(268, 45%, 66%)
CMYK
cmyk(20%, 38%, 0%, 19%)
HSV
hsv(268, 38%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.64: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: #A581CF;
color: #A581CF;
border-color: #A581CF;
}
Tailwind CSS (with arbitrary values)
bg-[#A581CF]
text-[#A581CF]
border-[#A581CF]
// Example usage:
<div className="bg-[#A581CF]">