#978AA7 color
The hex color #978AA7 is a grayish violet.
In the RGB color model it is made of 59.2% red, 54.1% green and 65.5% blue (151, 138, 167).
Its hue angle is 267°, with 14% saturation and 60% lightness. For print, the CMYK equivalent is 10% cyan, 17% magenta, 0% yellow and 35% black.
The closest named color is Hatoba Pigeon (#95859C), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.51:1).
#978AA7 color codes
| HEX | #978AA7 | |
|---|---|---|
| RGB | rgb(151, 138, 167) | |
| RGB percent | rgb(59.2%, 54.1%, 65.5%) | |
| HSL | hsl(267, 14%, 60%) | |
| HSV / HSB | hsv(267, 17%, 65%) | |
| CMYK | cmyk(10%, 17%, 0%, 35%) | |
| CIE LAB | lab(59.48, 10.6, -13.52) | |
| CIE LCH | lch(59.48, 17.18, 308.08) | |
| CIE XYZ | xyz(28.825, 27.546, 40.35) | |
| Decimal | 9931431 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #978AA7, 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 #978AA7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.51:1 | Pass | Fail | Pass |
| Sample text | 3.23:1 | Fail | Fail | Pass |
| #978AA7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.23:1 | Fail | Fail | Pass |
| Sample text | 6.51: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 #978AA7 looks to people with the most common types of color vision deficiency.
#858fa8Protanopia
no red cones#888fa6Deuteranopia
no green cones#958e94Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #978aa7; }
.text { color: #978aa7; }
.border { border: 2px solid #978aa7; }
.transparent { background-color: rgb(151 138 167 / 50%); }
.gradient { background: linear-gradient(to right, #978aa7, #a68aa7); }
Similar colors
#95859cHatoba Pigeon#a090b8Wizard’s Brew#967d96Amorous#948593Femme Fatale#a893c1Enchanted Lilac#b090b2Metal Petal#af8ba8Voila!#867ba9Aster
Closest common color name: Pastel Purple.
Questions
- What color is #978AA7?
- #978AA7 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 #978AA7?
- The RGB value is 151, 138, 167: 151 red, 138 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #978AA7?
- The complementary color is #9AA78A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #978AA7?
- Black text. Black text has a contrast ratio of 6.51:1 and white text 3.23:1. WCAG asks for at least 4.5:1 for normal text.