#978FAC color
The hex color #978FAC is a grayish violet.
In the RGB color model it is made of 59.2% red, 56.1% green and 67.5% blue (151, 143, 172).
Its hue angle is 257°, with 15% saturation and 62% lightness. For print, the CMYK equivalent is 12% cyan, 17% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 4.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.84:1).
#978FAC color codes
| HEX | #978FAC | |
|---|---|---|
| RGB | rgb(151, 143, 172) | |
| RGB percent | rgb(59.2%, 56.1%, 67.5%) | |
| HSL | hsl(257, 15%, 62%) | |
| HSV / HSB | hsv(257, 17%, 67%) | |
| CMYK | cmyk(12%, 17%, 0%, 33%) | |
| CIE LAB | lab(60.96, 8.82, -14.13) | |
| CIE LCH | lch(60.96, 16.66, 301.97) | |
| CIE XYZ | xyz(30.03, 29.203, 43.076) | |
| Decimal | 9932716 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #978FAC, 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 #978FAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.84:1 | Pass | Fail | Pass |
| Sample text | 3.07:1 | Fail | Fail | Pass |
| #978FAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.07:1 | Fail | Fail | Pass |
| Sample text | 6.84: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 #978FAC looks to people with the most common types of color vision deficiency.
#8993adProtanopia
no red cones#8a93abDeuteranopia
no green cones#939399Tritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #978fac; }
.text { color: #978fac; }
.border { border: 2px solid #978fac; }
.transparent { background-color: rgb(151 143 172 / 50%); }
.gradient { background: linear-gradient(to right, #978fac, #a58fac); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#8c92acCool Gray#9999aaMachinery#a893c1Enchanted Lilac#9998a7Lavender Ash#888899Dusty Chimney#948593Femme Fatale
Questions
- What color is #978FAC?
- #978FAC 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 #978FAC?
- The RGB value is 151, 143, 172: 151 red, 143 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #978FAC?
- The complementary color is #A4AC8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #978FAC?
- Black text. Black text has a contrast ratio of 6.84:1 and white text 3.07:1. WCAG asks for at least 4.5:1 for normal text.