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