#987FA4 color
The hex color #987FA4 is a grayish magenta.
In the RGB color model it is made of 59.6% red, 49.8% green and 64.3% blue (152, 127, 164).
Its hue angle is 281°, with 17% saturation and 57% lightness. For print, the CMYK equivalent is 7% cyan, 23% magenta, 0% yellow and 36% black.
The closest named color is Amorous (#967D96), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.91:1).
#987FA4 color codes
| HEX | #987FA4 | |
|---|---|---|
| RGB | rgb(152, 127, 164) | |
| RGB percent | rgb(59.6%, 49.8%, 64.3%) | |
| HSL | hsl(281, 17%, 57%) | |
| HSV / HSB | hsv(281, 23%, 64%) | |
| CMYK | cmyk(7%, 23%, 0%, 36%) | |
| CIE LAB | lab(56.62, 16.63, -16.12) | |
| CIE LCH | lch(56.62, 23.16, 315.9) | |
| CIE XYZ | xyz(27.238, 24.535, 38.416) | |
| Decimal | 9994148 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #987FA4, 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 #987FA4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.91:1 | Pass | Fail | Pass |
| Sample text | 3.56:1 | Fail | Fail | Pass |
| #987FA4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.56:1 | Fail | Fail | Pass |
| Sample text | 5.91: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 #987FA4 looks to people with the most common types of color vision deficiency.
#7a86a6Protanopia
no red cones#7f89a3Deuteranopia
no green cones#97838cTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #987fa4; }
.text { color: #987fa4; }
.border { border: 2px solid #987fa4; }
.transparent { background-color: rgb(152 127 164 / 50%); }
.gradient { background: linear-gradient(to right, #987fa4, #a47f9e); }
Similar colors
#967d96Amorous#a97fb1Heart Potion#95859cHatoba Pigeon#967bb6Lavender Purple#867ba9Aster#a090b8Wizard’s Brew#847592Vintage#ab7cb4Berries Galore
Questions
- What color is #987FA4?
- #987FA4 is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #987FA4?
- The RGB value is 152, 127, 164: 152 red, 127 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of #987FA4?
- The complementary color is #8BA47F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #987FA4?
- Black text. Black text has a contrast ratio of 5.91:1 and white text 3.56:1. WCAG asks for at least 4.5:1 for normal text.