Hex Color #A34AAF - Custom Color
Color Codes
HEX
#A34AAF
RGB
rgb(163, 74, 175)
HSL
hsl(293, 41%, 49%)
CMYK
cmyk(7%, 58%, 0%, 31%)
HSV
hsv(293, 58%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.05:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.16:1
Fail - 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: #A34AAF;
color: #A34AAF;
border-color: #A34AAF;
}
Tailwind CSS (with arbitrary values)
bg-[#A34AAF]
text-[#A34AAF]
border-[#A34AAF]
// Example usage:
<div className="bg-[#A34AAF]">