Hex Color #AA98C9 - Custom Color
Color Codes
HEX
#AA98C9
RGB
rgb(170, 152, 201)
HSL
hsl(262, 31%, 69%)
CMYK
cmyk(15%, 24%, 0%, 21%)
HSV
hsv(262, 24%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.61:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.04:1
Pass - WCAG AA (Normal Text)
Pass - 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: #AA98C9;
color: #AA98C9;
border-color: #AA98C9;
}
Tailwind CSS (with arbitrary values)
bg-[#AA98C9]
text-[#AA98C9]
border-[#AA98C9]
// Example usage:
<div className="bg-[#AA98C9]">