#A78FA6 color
The hex color #A78FA6 is a grayish magenta.
In the RGB color model it is made of 65.5% red, 56.1% green and 65.1% blue (167, 143, 166).
Its hue angle is 303°, with 12% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 1% yellow and 35% black.
The closest named color is Voila! (#AF8BA8), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.12:1).
#A78FA6 color codes
| HEX | #A78FA6 | |
|---|---|---|
| RGB | rgb(167, 143, 166) | |
| RGB percent | rgb(65.5%, 56.1%, 65.1%) | |
| HSL | hsl(303, 12%, 61%) | |
| HSV / HSB | hsv(303, 14%, 65%) | |
| CMYK | cmyk(0%, 14%, 1%, 35%) | |
| CIE LAB | lab(62.18, 13.16, -8.75) | |
| CIE LCH | lch(62.18, 15.8, 326.36) | |
| CIE XYZ | xyz(32.641, 30.614, 40.259) | |
| Decimal | 10981286 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A78FA6, 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 #A78FA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.12:1 | Pass | Pass | Pass |
| Sample text | 2.95:1 | Fail | Fail | Fail |
| #A78FA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.95:1 | Fail | Fail | Fail |
| Sample text | 7.12: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 #A78FA6 looks to people with the most common types of color vision deficiency.
#8e94a7Protanopia
no red cones#9397a5Deuteranopia
no green cones#a99197Tritanopia
no blue cones#969696Achromatopsia
no color vision
CSS examples
.background { background-color: #a78fa6; }
.text { color: #a78fa6; }
.border { border: 2px solid #a78fa6; }
.transparent { background-color: rgb(167 143 166 / 50%); }
.gradient { background: linear-gradient(to right, #a78fa6, #a78f9a); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#b39eb5Pastel Purple#95859cHatoba Pigeon#bb99aaClassy Mauve#a2919bNirvana#bb99bbDripping Wisteria#967d96Amorous
Questions
- What color is #A78FA6?
- #A78FA6 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #A78FA6?
- The RGB value is 167, 143, 166: 167 red, 143 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #A78FA6?
- The complementary color is #8FA790, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A78FA6?
- Black text. Black text has a contrast ratio of 7.12:1 and white text 2.95:1. WCAG asks for at least 4.5:1 for normal text.