#987A95 color
The hex color #987A95 is a grayish magenta.
In the RGB color model it is made of 59.6% red, 47.8% green and 58.4% blue (152, 122, 149).
Its hue angle is 306°, with 13% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 2% yellow and 40% black.
The closest named color is Amorous (#967D96), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.55:1).
#987A95 color codes
| HEX | #987A95 | |
|---|---|---|
| RGB | rgb(152, 122, 149) | |
| RGB percent | rgb(59.6%, 47.8%, 58.4%) | |
| HSL | hsl(306, 13%, 54%) | |
| HSV / HSB | hsv(306, 20%, 60%) | |
| CMYK | cmyk(0%, 20%, 2%, 40%) | |
| CIE LAB | lab(54.83, 16.47, -10.14) | |
| CIE LCH | lch(54.83, 19.34, 328.39) | |
| CIE XYZ | xyz(25.333, 22.765, 31.488) | |
| Decimal | 9992853 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #987A95, 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 #987A95 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.55:1 | Pass | Fail | Pass |
| Sample text | 3.78:1 | Fail | Fail | Pass |
| #987A95 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.78:1 | Fail | Fail | Pass |
| Sample text | 5.55: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 #987A95 looks to people with the most common types of color vision deficiency.
#798196Protanopia
no red cones#808594Deuteranopia
no green cones#9b7c83Tritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #987a95; }
.text { color: #987a95; }
.border { border: 2px solid #987a95; }
.transparent { background-color: rgb(152 122 149 / 50%); }
.gradient { background: linear-gradient(to right, #987a95, #987a86); }
Similar colors
#967d96Amorous#91788cMuted Berry#a37298Drama Queen#95859cHatoba Pigeon#847592Vintage#946985Fruit of Passion#af8ba8Voila!#948593Femme Fatale
Closest common color name: Lavender Purple.
Questions
- What color is #987A95?
- #987A95 is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #987A95?
- The RGB value is 152, 122, 149: 152 red, 122 green and 149 blue on a 0 to 255 scale.
- What is the complementary color of #987A95?
- The complementary color is #7A987D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #987A95?
- Black text. Black text has a contrast ratio of 5.55:1 and white text 3.78:1. WCAG asks for at least 4.5:1 for normal text.