Hex Color #AA7AAF - Custom Color

Color Codes

HEX
#AA7AAF
RGB
rgb(170, 122, 175)
HSL
hsl(294, 25%, 58%)
CMYK
cmyk(3%, 30%, 0%, 31%)
HSV
hsv(294, 30%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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