#9D8BB1 color
The hex color #9D8BB1 is a grayish violet.
In the RGB color model it is made of 61.6% red, 54.5% green and 69.4% blue (157, 139, 177).
Its hue angle is 268°, with 20% saturation and 62% lightness. For print, the CMYK equivalent is 11% cyan, 21% magenta, 0% yellow and 31% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.76:1).
#9D8BB1 color codes
| HEX | #9D8BB1 | |
|---|---|---|
| RGB | rgb(157, 139, 177) | |
| RGB percent | rgb(61.6%, 54.5%, 69.4%) | |
| HSL | hsl(268, 20%, 62%) | |
| HSV / HSB | hsv(268, 21%, 69%) | |
| CMYK | cmyk(11%, 21%, 0%, 31%) | |
| CIE LAB | lab(60.61, 14.22, -17.45) | |
| CIE LCH | lch(60.61, 22.51, 309.17) | |
| CIE XYZ | xyz(31.072, 28.808, 45.51) | |
| Decimal | 10324913 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D8BB1, 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 #9D8BB1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.76:1 | Pass | Fail | Pass |
| Sample text | 3.11:1 | Fail | Fail | Pass |
| #9D8BB1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.11:1 | Fail | Fail | Pass |
| Sample text | 6.76: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 #9D8BB1 looks to people with the most common types of color vision deficiency.
#8591b3Protanopia
no red cones#8892b0Deuteranopia
no green cones#9a9098Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #9d8bb1; }
.text { color: #9d8bb1; }
.border { border: 2px solid #9d8bb1; }
.transparent { background-color: rgb(157 139 177 / 50%); }
.gradient { background: linear-gradient(to right, #9d8bb1, #b08bb1); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#b090b2Metal Petal#9c87c1Petrified Purple#9488beMagic Carpet#95859cHatoba Pigeon#b090c7Fleur-De-Lis#a97fb1Heart Potion
Closest common color name: Lavender Purple.
Questions
- What color is #9D8BB1?
- #9D8BB1 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 #9D8BB1?
- The RGB value is 157, 139, 177: 157 red, 139 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #9D8BB1?
- The complementary color is #9FB18B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D8BB1?
- Black text. Black text has a contrast ratio of 6.76:1 and white text 3.11:1. WCAG asks for at least 4.5:1 for normal text.