Hex Color #A558EC - Custom Color
Color Codes
HEX
#A558EC
RGB
rgb(165, 88, 236)
HSL
hsl(271, 80%, 64%)
CMYK
cmyk(30%, 63%, 0%, 7%)
HSV
hsv(271, 63%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.21: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: #A558EC;
color: #A558EC;
border-color: #A558EC;
}
Tailwind CSS (with arbitrary values)
bg-[#A558EC]
text-[#A558EC]
border-[#A558EC]
// Example usage:
<div className="bg-[#A558EC]">