Hex Color #AE7AB6 - Custom Color
Color Codes
HEX
#AE7AB6
RGB
rgb(174, 122, 182)
HSL
hsl(292, 29%, 60%)
CMYK
cmyk(4%, 33%, 0%, 29%)
HSV
hsv(292, 33%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.26: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: #AE7AB6;
color: #AE7AB6;
border-color: #AE7AB6;
}
Tailwind CSS (with arbitrary values)
bg-[#AE7AB6]
text-[#AE7AB6]
border-[#AE7AB6]
// Example usage:
<div className="bg-[#AE7AB6]">