#AA7FA5 color
The hex color #AA7FA5 is a grayish magenta.
In the RGB color model it is made of 66.7% red, 49.8% green and 64.7% blue (170, 127, 165).
Its hue angle is 307°, with 20% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 25% magenta, 3% yellow and 33% black.
The closest named color is Heart Potion (#A97FB1), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.29:1).
#AA7FA5 color codes
| HEX | #AA7FA5 | |
|---|---|---|
| RGB | rgb(170, 127, 165) | |
| RGB percent | rgb(66.7%, 49.8%, 64.7%) | |
| HSL | hsl(307, 20%, 58%) | |
| HSV / HSB | hsv(307, 25%, 67%) | |
| CMYK | cmyk(0%, 25%, 3%, 33%) | |
| CIE LAB | lab(58.45, 23.09, -13.74) | |
| CIE LCH | lch(58.45, 26.87, 329.24) | |
| CIE XYZ | xyz(30.958, 26.442, 39.063) | |
| Decimal | 11173797 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AA7FA5, 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 #AA7FA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.29:1 | Pass | Fail | Pass |
| Sample text | 3.34:1 | Fail | Fail | Pass |
| #AA7FA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.34:1 | Fail | Fail | Pass |
| Sample text | 6.29: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 #AA7FA5 looks to people with the most common types of color vision deficiency.
#7e89a7Protanopia
no red cones#888fa4Deuteranopia
no green cones#ae828cTritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #aa7fa5; }
.text { color: #aa7fa5; }
.border { border: 2px solid #aa7fa5; }
.transparent { background-color: rgb(170 127 165 / 50%); }
.gradient { background: linear-gradient(to right, #aa7fa5, #aa7f8f); }
Similar colors
#a97fb1Heart Potion#b97da8Romanov Mauve#af8ba8Voila!#a37298Drama Queen#ab7cb4Berries Galore#b090b2Metal Petal#967d96Amorous#bf90bbLa la Love
Closest common color name: Lavender Purple.
Questions
- What color is #AA7FA5?
- #AA7FA5 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 #AA7FA5?
- The RGB value is 170, 127, 165: 170 red, 127 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #AA7FA5?
- The complementary color is #7FAA84, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AA7FA5?
- Black text. Black text has a contrast ratio of 6.29:1 and white text 3.34:1. WCAG asks for at least 4.5:1 for normal text.