#AA87A6 color
The hex color #AA87A6 is a grayish magenta.
In the RGB color model it is made of 66.7% red, 52.9% green and 65.1% blue (170, 135, 166).
Its hue angle is 307°, with 17% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 2% yellow and 33% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.73:1).
#AA87A6 color codes
| HEX | #AA87A6 | |
|---|---|---|
| RGB | rgb(170, 135, 166) | |
| RGB percent | rgb(66.7%, 52.9%, 65.1%) | |
| HSL | hsl(307, 17%, 60%) | |
| HSV / HSB | hsv(307, 21%, 67%) | |
| CMYK | cmyk(0%, 21%, 2%, 33%) | |
| CIE LAB | lab(60.45, 18.75, -11.31) | |
| CIE LCH | lch(60.45, 21.9, 328.9) | |
| CIE XYZ | xyz(32.124, 28.628, 39.903) | |
| Decimal | 11175846 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AA87A6, 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 #AA87A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.73:1 | Pass | Fail | Pass |
| Sample text | 3.12:1 | Fail | Fail | Pass |
| #AA87A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.12:1 | Fail | Fail | Pass |
| Sample text | 6.73:1 | Pass | Fail | Pass |
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 #AA87A6 looks to people with the most common types of color vision deficiency.
#868fa7Protanopia
no red cones#8e93a5Deuteranopia
no green cones#ad8992Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #aa87a6; }
.text { color: #aa87a6; }
.border { border: 2px solid #aa87a6; }
.transparent { background-color: rgb(170 135 166 / 50%); }
.gradient { background: linear-gradient(to right, #aa87a6, #aa8794); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#a97fb1Heart Potion#967d96Amorous#bf90bbLa la Love#b97da8Romanov Mauve#bb99bbDripping Wisteria
Closest common color name: Pastel Purple.
Questions
- What color is #AA87A6?
- #AA87A6 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AA87A6?
- The RGB value is 170, 135, 166: 170 red, 135 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #AA87A6?
- The complementary color is #87AA8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AA87A6?
- Black text. Black text has a contrast ratio of 6.73:1 and white text 3.12:1. WCAG asks for at least 4.5:1 for normal text.