Hex Color #A559FA - Custom Color
Color Codes
HEX
#A559FA
RGB
rgb(165, 89, 250)
HSL
hsl(268, 94%, 66%)
CMYK
cmyk(34%, 64%, 0%, 2%)
HSV
hsv(268, 64%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.41: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: #A559FA;
color: #A559FA;
border-color: #A559FA;
}
Tailwind CSS (with arbitrary values)
bg-[#A559FA]
text-[#A559FA]
border-[#A559FA]
// Example usage:
<div className="bg-[#A559FA]">