Hex Color #A578DD - Custom Color
Color Codes
HEX
#A578DD
RGB
rgb(165, 120, 221)
HSL
hsl(267, 60%, 67%)
CMYK
cmyk(25%, 46%, 0%, 13%)
HSV
hsv(267, 46%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.33: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: #A578DD;
color: #A578DD;
border-color: #A578DD;
}
Tailwind CSS (with arbitrary values)
bg-[#A578DD]
text-[#A578DD]
border-[#A578DD]
// Example usage:
<div className="bg-[#A578DD]">