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