#9887A8 color
The hex color #9887A8 is a grayish violet.
In the RGB color model it is made of 59.6% red, 52.9% green and 65.9% blue (152, 135, 168).
Its hue angle is 271°, with 16% saturation and 59% lightness. For print, the CMYK equivalent is 10% cyan, 20% magenta, 0% yellow and 34% black.
The closest named color is Hatoba Pigeon (#95859C), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.37:1).
#9887A8 color codes
| HEX | #9887A8 | |
|---|---|---|
| RGB | rgb(152, 135, 168) | |
| RGB percent | rgb(59.6%, 52.9%, 65.9%) | |
| HSL | hsl(271, 16%, 59%) | |
| HSV / HSB | hsv(271, 20%, 66%) | |
| CMYK | cmyk(10%, 20%, 0%, 34%) | |
| CIE LAB | lab(58.82, 12.87, -15.08) | |
| CIE LCH | lch(58.82, 19.83, 310.48) | |
| CIE XYZ | xyz(28.679, 26.831, 40.706) | |
| Decimal | 9996200 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9887A8, 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 #9887A8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.37:1 | Pass | Fail | Pass |
| Sample text | 3.3:1 | Fail | Fail | Pass |
| #9887A8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.3:1 | Fail | Fail | Pass |
| Sample text | 6.37: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 #9887A8 looks to people with the most common types of color vision deficiency.
#828da9Protanopia
no red cones#858ea7Deuteranopia
no green cones#968b92Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #9887a8; }
.text { color: #9887a8; }
.border { border: 2px solid #9887a8; }
.transparent { background-color: rgb(152 135 168 / 50%); }
.gradient { background: linear-gradient(to right, #9887a8, #a887a7); }
Similar colors
#95859cHatoba Pigeon#a090b8Wizard’s Brew#967d96Amorous#a893c1Enchanted Lilac#b090b2Metal Petal#867ba9Aster#9488beMagic Carpet#af8ba8Voila!
Closest common color name: Lavender Purple.
Questions
- What color is #9887A8?
- #9887A8 is a grayish violet, closest to the named color Hatoba Pigeon. It belongs to the purple family of colors.
- What is the RGB value of #9887A8?
- The RGB value is 152, 135, 168: 152 red, 135 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #9887A8?
- The complementary color is #97A887, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9887A8?
- Black text. Black text has a contrast ratio of 6.37:1 and white text 3.3:1. WCAG asks for at least 4.5:1 for normal text.