#9D97BA color
The hex color #9D97BA is a light, grayish violet.
In the RGB color model it is made of 61.6% red, 59.2% green and 72.9% blue (157, 151, 186).
Its hue angle is 250°, with 20% saturation and 66% lightness. For print, the CMYK equivalent is 16% cyan, 19% magenta, 0% yellow and 27% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.57:1).
#9D97BA color codes
| HEX | #9D97BA | |
|---|---|---|
| RGB | rgb(157, 151, 186) | |
| RGB percent | rgb(61.6%, 59.2%, 72.9%) | |
| HSL | hsl(250, 20%, 66%) | |
| HSV / HSB | hsv(250, 19%, 73%) | |
| CMYK | cmyk(16%, 19%, 0%, 27%) | |
| CIE LAB | lab(64.04, 9.37, -17.33) | |
| CIE LCH | lch(64.04, 19.7, 298.39) | |
| CIE XYZ | xyz(33.832, 32.846, 51.002) | |
| Decimal | 10327994 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D97BA, 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 #9D97BA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.57:1 | Pass | Pass | Pass |
| Sample text | 2.77:1 | Fail | Fail | Fail |
| #9D97BA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.77:1 | Fail | Fail | Fail |
| Sample text | 7.57: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 #9D97BA looks to people with the most common types of color vision deficiency.
#8f9cbcProtanopia
no red cones#909bb9Deuteranopia
no green cones#989ca3Tritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #9d97ba; }
.text { color: #9d97ba; }
.border { border: 2px solid #9d97ba; }
.transparent { background-color: rgb(157 151 186 / 50%); }
.gradient { background: linear-gradient(to right, #9d97ba, #af97ba); }
Similar colors
#a090b8Wizard’s Brew#a99fcfImperial Lilac#a893c1Enchanted Lilac#8c92acCool Gray#9488beMagic Carpet#8e97c7Easter Egg#9999aaMachinery#baa2ceLucius Lilac
Questions
- What color is #9D97BA?
- #9D97BA is a light, grayish violet, closest to the named color Wizard’s Brew. It belongs to the blue family of colors.
- What is the RGB value of #9D97BA?
- The RGB value is 157, 151, 186: 157 red, 151 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #9D97BA?
- The complementary color is #B4BA97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D97BA?
- Black text. Black text has a contrast ratio of 7.57:1 and white text 2.77:1. WCAG asks for at least 4.5:1 for normal text.