#978DBA color
The hex color #978DBA is a light, grayish violet.
In the RGB color model it is made of 59.2% red, 55.3% green and 72.9% blue (151, 141, 186).
Its hue angle is 253°, with 25% saturation and 64% lightness. For print, the CMYK equivalent is 19% cyan, 24% magenta, 0% yellow and 27% black.
The closest named color is Magic Carpet (#9488BE), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.83:1).
#978DBA color codes
| HEX | #978DBA | |
|---|---|---|
| RGB | rgb(151, 141, 186) | |
| RGB percent | rgb(59.2%, 55.3%, 72.9%) | |
| HSL | hsl(253, 25%, 64%) | |
| HSV / HSB | hsv(253, 24%, 73%) | |
| CMYK | cmyk(19%, 24%, 0%, 27%) | |
| CIE LAB | lab(60.93, 13.11, -22.1) | |
| CIE LCH | lch(60.93, 25.69, 300.67) | |
| CIE XYZ | xyz(31.148, 29.174, 50.435) | |
| Decimal | 9932218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #978DBA, 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 #978DBA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.83:1 | Pass | Fail | Pass |
| Sample text | 3.07:1 | Fail | Fail | Pass |
| #978DBA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.07:1 | Fail | Fail | Pass |
| Sample text | 6.83: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 #978DBA looks to people with the most common types of color vision deficiency.
#8393bcProtanopia
no red cones#8492b9Deuteranopia
no green cones#90949dTritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #978dba; }
.text { color: #978dba; }
.border { border: 2px solid #978dba; }
.transparent { background-color: rgb(151 141 186 / 50%); }
.gradient { background: linear-gradient(to right, #978dba, #ae8dba); }
Similar colors
#9488beMagic Carpet#a090b8Wizard’s Brew#9c87c1Petrified Purple#a893c1Enchanted Lilac#a99fcfImperial Lilac#867ba9Aster#b090c7Fleur-De-Lis#8e97c7Easter Egg
Closest common color name: Lavender Purple.
Questions
- What color is #978DBA?
- #978DBA is a light, grayish violet, closest to the named color Magic Carpet. It belongs to the blue family of colors.
- What is the RGB value of #978DBA?
- The RGB value is 151, 141, 186: 151 red, 141 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #978DBA?
- The complementary color is #B0BA8D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #978DBA?
- Black text. Black text has a contrast ratio of 6.83:1 and white text 3.07:1. WCAG asks for at least 4.5:1 for normal text.