Hex Color #A976DD - Custom Color
Color Codes
HEX
#A976DD
RGB
rgb(169, 118, 221)
HSL
hsl(270, 60%, 66%)
CMYK
cmyk(24%, 47%, 0%, 13%)
HSV
hsv(270, 47%, 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.32: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: #A976DD;
color: #A976DD;
border-color: #A976DD;
}
Tailwind CSS (with arbitrary values)
bg-[#A976DD]
text-[#A976DD]
border-[#A976DD]
// Example usage:
<div className="bg-[#A976DD]">