#A786A9 color
The hex color #A786A9 is a grayish magenta.
In the RGB color model it is made of 65.5% red, 52.5% green and 66.3% blue (167, 134, 169).
Its hue angle is 297°, with 17% saturation and 59% lightness. For print, the CMYK equivalent is 1% cyan, 21% magenta, 0% yellow and 34% black.
The closest named color is Voila! (#AF8BA8), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.63:1).
#A786A9 color codes
| HEX | #A786A9 | |
|---|---|---|
| RGB | rgb(167, 134, 169) | |
| RGB percent | rgb(65.5%, 52.5%, 66.3%) | |
| HSL | hsl(297, 17%, 59%) | |
| HSV / HSB | hsv(297, 21%, 66%) | |
| CMYK | cmyk(1%, 21%, 0%, 34%) | |
| CIE LAB | lab(60.01, 18.84, -13.72) | |
| CIE LCH | lch(60.01, 23.31, 323.94) | |
| CIE XYZ | xyz(31.622, 28.131, 41.292) | |
| Decimal | 10978985 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A786A9, 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 #A786A9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.63:1 | Pass | Fail | Pass |
| Sample text | 3.17:1 | Fail | Fail | Pass |
| #A786A9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.63: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 #A786A9 looks to people with the most common types of color vision deficiency.
#838eaaProtanopia
no red cones#8b92a8Deuteranopia
no green cones#a98992Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #a786a9; }
.text { color: #a786a9; }
.border { border: 2px solid #a786a9; }
.transparent { background-color: rgb(167 134 169 / 50%); }
.gradient { background: linear-gradient(to right, #a786a9, #a9869a); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#a97fb1Heart Potion#967d96Amorous#bf90bbLa la Love#bf91b2Mauve Magic#ab7cb4Berries Galore#b97da8Romanov Mauve
Closest common color name: Pastel Purple.
Questions
- What color is #A786A9?
- #A786A9 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #A786A9?
- The RGB value is 167, 134, 169: 167 red, 134 green and 169 blue on a 0 to 255 scale.
- What is the complementary color of #A786A9?
- The complementary color is #88A986, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A786A9?
- Black text. Black text has a contrast ratio of 6.63:1 and white text 3.17:1. WCAG asks for at least 4.5:1 for normal text.