#9D8DAA color
The hex color #9D8DAA is a grayish violet.
In the RGB color model it is made of 61.6% red, 55.3% green and 66.7% blue (157, 141, 170).
Its hue angle is 273°, with 15% saturation and 61% lightness. For print, the CMYK equivalent is 8% cyan, 17% magenta, 0% yellow and 33% black.
The closest named color is Hatoba Pigeon (#95859C), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.82:1).
#9D8DAA color codes
| HEX | #9D8DAA | |
|---|---|---|
| RGB | rgb(157, 141, 170) | |
| RGB percent | rgb(61.6%, 55.3%, 66.7%) | |
| HSL | hsl(273, 15%, 61%) | |
| HSV / HSB | hsv(273, 17%, 67%) | |
| CMYK | cmyk(8%, 17%, 0%, 33%) | |
| CIE LAB | lab(60.89, 11.59, -13.05) | |
| CIE LCH | lch(60.89, 17.46, 311.59) | |
| CIE XYZ | xyz(30.684, 29.12, 42.027) | |
| Decimal | 10325418 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D8DAA, 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 #9D8DAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.82:1 | Pass | Fail | Pass |
| Sample text | 3.08:1 | Fail | Fail | Pass |
| #9D8DAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.08:1 | Fail | Fail | Pass |
| Sample text | 6.82: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 #9D8DAA looks to people with the most common types of color vision deficiency.
#8992abProtanopia
no red cones#8c93a9Deuteranopia
no green cones#9c9097Tritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #9d8daa; }
.text { color: #9d8daa; }
.border { border: 2px solid #9d8daa; }
.transparent { background-color: rgb(157 141 170 / 50%); }
.gradient { background: linear-gradient(to right, #9d8daa, #aa8da9); }
Similar colors
#95859cHatoba Pigeon#a090b8Wizard’s Brew#b090b2Metal Petal#a893c1Enchanted Lilac#967d96Amorous#af8ba8Voila!#b39eb5Pastel Purple#948593Femme Fatale
Questions
- What color is #9D8DAA?
- #9D8DAA is a grayish violet, closest to the named color Hatoba Pigeon. It belongs to the purple family of colors.
- What is the RGB value of #9D8DAA?
- The RGB value is 157, 141, 170: 157 red, 141 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #9D8DAA?
- The complementary color is #9AAA8D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D8DAA?
- Black text. Black text has a contrast ratio of 6.82:1 and white text 3.08:1. WCAG asks for at least 4.5:1 for normal text.