#A78FAB color
The hex color #A78FAB is a grayish magenta.
In the RGB color model it is made of 65.5% red, 56.1% green and 67.1% blue (167, 143, 171).
Its hue angle is 291°, with 14% saturation and 62% lightness. For print, the CMYK equivalent is 2% cyan, 16% magenta, 0% yellow and 33% black.
The closest named color is Metal Petal (#B090B2), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.16:1).
#A78FAB color codes
| HEX | #A78FAB | |
|---|---|---|
| RGB | rgb(167, 143, 171) | |
| RGB percent | rgb(65.5%, 56.1%, 67.1%) | |
| HSL | hsl(291, 14%, 62%) | |
| HSV / HSB | hsv(291, 16%, 67%) | |
| CMYK | cmyk(2%, 16%, 0%, 33%) | |
| CIE LAB | lab(62.34, 14.14, -11.35) | |
| CIE LCH | lch(62.34, 18.13, 321.24) | |
| CIE XYZ | xyz(33.108, 30.801, 42.721) | |
| Decimal | 10981291 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A78FAB, 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 #A78FAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.16:1 | Pass | Pass | Pass |
| Sample text | 2.93:1 | Fail | Fail | Fail |
| #A78FAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.93:1 | Fail | Fail | Fail |
| Sample text | 7.16:1 | Pass | Pass | 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 #A78FAB looks to people with the most common types of color vision deficiency.
#8d95acProtanopia
no red cones#9298aaDeuteranopia
no green cones#a89298Tritanopia
no blue cones#979797Achromatopsia
no color vision
CSS examples
.background { background-color: #a78fab; }
.text { color: #a78fab; }
.border { border: 2px solid #a78fab; }
.transparent { background-color: rgb(167 143 171 / 50%); }
.gradient { background: linear-gradient(to right, #a78fab, #ab8fa1); }
Similar colors
#b090b2Metal Petal#af8ba8Voila!#b39eb5Pastel Purple#a090b8Wizard’s Brew#bb99bbDripping Wisteria#95859cHatoba Pigeon#a893c1Enchanted Lilac#bf91b2Mauve Magic
Questions
- What color is #A78FAB?
- #A78FAB is a grayish magenta, closest to the named color Metal Petal. It belongs to the purple family of colors.
- What is the RGB value of #A78FAB?
- The RGB value is 167, 143, 171: 167 red, 143 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #A78FAB?
- The complementary color is #93AB8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A78FAB?
- Black text. Black text has a contrast ratio of 7.16:1 and white text 2.93:1. WCAG asks for at least 4.5:1 for normal text.