#978BAB color
The hex color #978BAB is a grayish violet.
In the RGB color model it is made of 59.2% red, 54.5% green and 67.1% blue (151, 139, 171).
Its hue angle is 263°, with 16% saturation and 61% lightness. For print, the CMYK equivalent is 12% cyan, 19% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.6:1).
#978BAB color codes
| HEX | #978BAB | |
|---|---|---|
| RGB | rgb(151, 139, 171) | |
| RGB percent | rgb(59.2%, 54.5%, 67.1%) | |
| HSL | hsl(263, 16%, 61%) | |
| HSV / HSB | hsv(263, 19%, 67%) | |
| CMYK | cmyk(12%, 19%, 0%, 33%) | |
| CIE LAB | lab(59.88, 10.89, -15.2) | |
| CIE LCH | lch(59.88, 18.7, 305.61) | |
| CIE XYZ | xyz(29.344, 27.985, 42.376) | |
| Decimal | 9931691 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #978BAB, 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 #978BAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.6:1 | Pass | Fail | Pass |
| Sample text | 3.18:1 | Fail | Fail | Pass |
| #978BAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.6: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 #978BAB looks to people with the most common types of color vision deficiency.
#8590acProtanopia
no red cones#8790aaDeuteranopia
no green cones#948f96Tritanopia
no blue cones#909090Achromatopsia
no color vision
CSS examples
.background { background-color: #978bab; }
.text { color: #978bab; }
.border { border: 2px solid #978bab; }
.transparent { background-color: rgb(151 139 171 / 50%); }
.gradient { background: linear-gradient(to right, #978bab, #a78bab); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#a893c1Enchanted Lilac#9488beMagic Carpet#967d96Amorous#b090b2Metal Petal#867ba9Aster#948593Femme Fatale
Closest common color name: Cool Gray.
Questions
- What color is #978BAB?
- #978BAB 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 #978BAB?
- The RGB value is 151, 139, 171: 151 red, 139 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #978BAB?
- The complementary color is #9FAB8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #978BAB?
- Black text. Black text has a contrast ratio of 6.6:1 and white text 3.18:1. WCAG asks for at least 4.5:1 for normal text.