#AA7EB1 color

#AA7EB1 rgb(170, 126, 177)
Shades of purple

The hex color #AA7EB1 is a grayish magenta.

In the RGB color model it is made of 66.7% red, 49.4% green and 69.4% blue (170, 126, 177).

Its hue angle is 292°, with 25% saturation and 59% lightness. For print, the CMYK equivalent is 4% cyan, 29% magenta, 0% yellow and 31% black.

The closest named color is Heart Potion (#A97FB1), a difference of 0.4 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 6.33:1).

#AA7EB1 color codes

HEX#AA7EB1
RGBrgb(170, 126, 177)
RGB percentrgb(66.7%, 49.4%, 69.4%)
HSLhsl(292, 25%, 59%)
HSV / HSBhsv(292, 29%, 69%)
CMYKcmyk(4%, 29%, 0%, 31%)
CIE LABlab(58.64, 26, -20.33)
CIE LCHlch(58.64, 33.01, 321.98)
CIE XYZxyz(31.973, 26.643, 45.045)
Decimal11173553
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AA7EB1, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA7EB1RatioAAAAAAA large
Sample text6.33:1PassFailPass
Sample text3.32:1FailFailPass
#AA7EB1 as text onRatioAAAAAAA large
Sample text3.32:1FailFailPass
Sample text6.33:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #AA7EB1 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #aa7eb1; }
.text { color: #aa7eb1; }
.border { border: 2px solid #aa7eb1; }
.transparent { background-color: rgb(170 126 177 / 50%); }
.gradient { background: linear-gradient(to right, #aa7eb1, #b17e9f); }
Background
Text color
Border

Similar colors

Questions

What color is #AA7EB1?
#AA7EB1 is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
What is the RGB value of #AA7EB1?
The RGB value is 170, 126, 177: 170 red, 126 green and 177 blue on a 0 to 255 scale.
What is the complementary color of #AA7EB1?
The complementary color is #85B17E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AA7EB1?
Black text. Black text has a contrast ratio of 6.33:1 and white text 3.32:1. WCAG asks for at least 4.5:1 for normal text.