#9887B2 color
The hex color #9887B2 is a grayish violet.
In the RGB color model it is made of 59.6% red, 52.9% green and 69.8% blue (152, 135, 178).
Its hue angle is 264°, with 22% saturation and 61% lightness. For print, the CMYK equivalent is 15% cyan, 24% magenta, 0% yellow and 30% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.44:1).
#9887B2 color codes
| HEX | #9887B2 | |
|---|---|---|
| RGB | rgb(152, 135, 178) | |
| RGB percent | rgb(59.6%, 52.9%, 69.8%) | |
| HSL | hsl(264, 22%, 61%) | |
| HSV / HSB | hsv(264, 24%, 70%) | |
| CMYK | cmyk(15%, 24%, 0%, 30%) | |
| CIE LAB | lab(59.18, 15.06, -20.24) | |
| CIE LCH | lch(59.18, 25.23, 306.65) | |
| CIE XYZ | xyz(29.647, 27.218, 45.803) | |
| Decimal | 9996210 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9887B2, 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 #9887B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.44:1 | Pass | Fail | Pass |
| Sample text | 3.26:1 | Fail | Fail | Pass |
| #9887B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.26:1 | Fail | Fail | Pass |
| Sample text | 6.44: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 #9887B2 looks to people with the most common types of color vision deficiency.
#7f8eb4Protanopia
no red cones#828eb1Deuteranopia
no green cones#948d96Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #9887b2; }
.text { color: #9887b2; }
.border { border: 2px solid #9887b2; }
.transparent { background-color: rgb(152 135 178 / 50%); }
.gradient { background: linear-gradient(to right, #9887b2, #ae87b2); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#9c87c1Petrified Purple#a893c1Enchanted Lilac#967bb6Lavender Purple#867ba9Aster#b090c7Fleur-De-Lis#a97fb1Heart Potion
Questions
- What color is #9887B2?
- #9887B2 is a grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #9887B2?
- The RGB value is 152, 135, 178: 152 red, 135 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #9887B2?
- The complementary color is #A1B287, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9887B2?
- Black text. Black text has a contrast ratio of 6.44:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.