Hex Color #AA7EBA - Custom Color
Color Codes
HEX
#AA7EBA
RGB
rgb(170, 126, 186)
HSL
hsl(284, 30%, 61%)
CMYK
cmyk(9%, 32%, 0%, 27%)
HSV
hsv(284, 32%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.40: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: #AA7EBA;
color: #AA7EBA;
border-color: #AA7EBA;
}
Tailwind CSS (with arbitrary values)
bg-[#AA7EBA]
text-[#AA7EBA]
border-[#AA7EBA]
// Example usage:
<div className="bg-[#AA7EBA]">