Hex Color #A578EA - Custom Color
Color Codes
HEX
#A578EA
RGB
rgb(165, 120, 234)
HSL
hsl(264, 73%, 69%)
CMYK
cmyk(29%, 49%, 0%, 8%)
HSV
hsv(264, 49%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.47: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: #A578EA;
color: #A578EA;
border-color: #A578EA;
}
Tailwind CSS (with arbitrary values)
bg-[#A578EA]
text-[#A578EA]
border-[#A578EA]
// Example usage:
<div className="bg-[#A578EA]">