Hex Color #A7517D - Custom Color
Color Codes
HEX
#A7517D
RGB
rgb(167, 81, 125)
HSL
hsl(329, 35%, 49%)
CMYK
cmyk(0%, 51%, 25%, 35%)
HSV
hsv(329, 51%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.10:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.12: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: #A7517D;
color: #A7517D;
border-color: #A7517D;
}
Tailwind CSS (with arbitrary values)
bg-[#A7517D]
text-[#A7517D]
border-[#A7517D]
// Example usage:
<div className="bg-[#A7517D]">