#9E87A3 color
The hex color #9E87A3 is a grayish magenta.
In the RGB color model it is made of 62% red, 52.9% green and 63.9% blue (158, 135, 163).
Its hue angle is 289°, with 13% saturation and 58% lightness. For print, the CMYK equivalent is 3% cyan, 17% magenta, 0% yellow and 36% black.
The closest named color is Hatoba Pigeon (#95859C), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.45:1).
#9E87A3 color codes
| HEX | #9E87A3 | |
|---|---|---|
| RGB | rgb(158, 135, 163) | |
| RGB percent | rgb(62%, 52.9%, 63.9%) | |
| HSL | hsl(289, 13%, 58%) | |
| HSV / HSB | hsv(289, 17%, 64%) | |
| CMYK | cmyk(3%, 17%, 0%, 36%) | |
| CIE LAB | lab(59.2, 13.92, -11.6) | |
| CIE LCH | lch(59.2, 18.12, 320.21) | |
| CIE XYZ | xyz(29.374, 27.242, 38.354) | |
| Decimal | 10389411 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E87A3, 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 #9E87A3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.45:1 | Pass | Fail | Pass |
| Sample text | 3.26:1 | Fail | Fail | Pass |
| #9E87A3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.45: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 #9E87A3 looks to people with the most common types of color vision deficiency.
#848da4Protanopia
no red cones#898fa2Deuteranopia
no green cones#9f8a90Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #9e87a3; }
.text { color: #9e87a3; }
.border { border: 2px solid #9e87a3; }
.transparent { background-color: rgb(158 135 163 / 50%); }
.gradient { background: linear-gradient(to right, #9e87a3, #a3879a); }
Similar colors
#95859cHatoba Pigeon#967d96Amorous#af8ba8Voila!#b090b2Metal Petal#a090b8Wizard’s Brew#948593Femme Fatale#91788cMuted Berry#a97fb1Heart Potion
Closest common color name: Pastel Purple.
Questions
- What color is #9E87A3?
- #9E87A3 is a grayish magenta, closest to the named color Hatoba Pigeon. It belongs to the purple family of colors.
- What is the RGB value of #9E87A3?
- The RGB value is 158, 135, 163: 158 red, 135 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #9E87A3?
- The complementary color is #8CA387, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E87A3?
- Black text. Black text has a contrast ratio of 6.45:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.