Hex Color #A474AD - Custom Color
Color Codes
HEX
#A474AD
RGB
rgb(164, 116, 173)
HSL
hsl(291, 26%, 57%)
CMYK
cmyk(5%, 33%, 0%, 32%)
HSV
hsv(291, 33%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.70:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.68: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: #A474AD;
color: #A474AD;
border-color: #A474AD;
}
Tailwind CSS (with arbitrary values)
bg-[#A474AD]
text-[#A474AD]
border-[#A474AD]
// Example usage:
<div className="bg-[#A474AD]">