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