#9D8FAC color
The hex color #9D8FAC is a grayish violet.
In the RGB color model it is made of 61.6% red, 56.1% green and 67.5% blue (157, 143, 172).
Its hue angle is 269°, with 15% saturation and 62% lightness. For print, the CMYK equivalent is 9% cyan, 17% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.96:1).
#9D8FAC color codes
| HEX | #9D8FAC | |
|---|---|---|
| RGB | rgb(157, 143, 172) | |
| RGB percent | rgb(61.6%, 56.1%, 67.5%) | |
| HSL | hsl(269, 15%, 62%) | |
| HSV / HSB | hsv(269, 17%, 67%) | |
| CMYK | cmyk(9%, 17%, 0%, 33%) | |
| CIE LAB | lab(61.47, 10.87, -13.31) | |
| CIE LCH | lch(61.47, 17.18, 309.24) | |
| CIE XYZ | xyz(31.172, 29.792, 43.13) | |
| Decimal | 10325932 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D8FAC, 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 #9D8FAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.96:1 | Pass | Fail | Pass |
| Sample text | 3.02:1 | Fail | Fail | Pass |
| #9D8FAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.02:1 | Fail | Fail | Pass |
| Sample text | 6.96: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 #9D8FAC looks to people with the most common types of color vision deficiency.
#8a94adProtanopia
no red cones#8d95abDeuteranopia
no green cones#9b9399Tritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #9d8fac; }
.text { color: #9d8fac; }
.border { border: 2px solid #9d8fac; }
.transparent { background-color: rgb(157 143 172 / 50%); }
.gradient { background: linear-gradient(to right, #9d8fac, #ac8fac); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#a893c1Enchanted Lilac#b090b2Metal Petal#b39eb5Pastel Purple#948593Femme Fatale#af8ba8Voila!#967d96Amorous
Questions
- What color is #9D8FAC?
- #9D8FAC is a grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #9D8FAC?
- The RGB value is 157, 143, 172: 157 red, 143 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #9D8FAC?
- The complementary color is #9EAC8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D8FAC?
- Black text. Black text has a contrast ratio of 6.96:1 and white text 3.02:1. WCAG asks for at least 4.5:1 for normal text.