Hex Color #AA9EC6 - Custom Color

Color Codes

HEX
#AA9EC6
RGB
rgb(170, 158, 198)
HSL
hsl(258, 26%, 70%)
CMYK
cmyk(14%, 20%, 0%, 22%)
HSV
hsv(258, 20%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.50:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 8.42: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: #AA9EC6;
color: #AA9EC6;
border-color: #AA9EC6;
}

Tailwind CSS (with arbitrary values)

bg-[#AA9EC6]
text-[#AA9EC6]
border-[#AA9EC6]
// Example usage:
<div className="bg-[#AA9EC6]">