#9B87C2 color
The hex color #9B87C2 is a light, desaturated violet.
In the RGB color model it is made of 60.8% red, 52.9% green and 76.1% blue (155, 135, 194).
Its hue angle is 260°, with 33% saturation and 65% lightness. For print, the CMYK equivalent is 20% cyan, 30% magenta, 0% yellow and 24% black.
The closest named color is Petrified Purple (#9C87C1), a difference of 0.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.64:1).
#9B87C2 color codes
| HEX | #9B87C2 | |
|---|---|---|
| RGB | rgb(155, 135, 194) | |
| RGB percent | rgb(60.8%, 52.9%, 76.1%) | |
| HSL | hsl(260, 33%, 65%) | |
| HSV / HSB | hsv(260, 30%, 76%) | |
| CMYK | cmyk(20%, 30%, 0%, 24%) | |
| CIE LAB | lab(60.06, 19.68, -27.94) | |
| CIE LCH | lch(60.06, 34.17, 305.17) | |
| CIE XYZ | xyz(31.917, 28.191, 54.788) | |
| Decimal | 10192834 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B87C2, 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 #9B87C2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.64:1 | Pass | Fail | Pass |
| Sample text | 3.16:1 | Fail | Fail | Pass |
| #9B87C2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.16:1 | Fail | Fail | Pass |
| Sample text | 6.64: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 #9B87C2 looks to people with the most common types of color vision deficiency.
#7a91c4Protanopia
no red cones#7d90c0Deuteranopia
no green cones#94909cTritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #9b87c2; }
.text { color: #9b87c2; }
.border { border: 2px solid #9b87c2; }
.transparent { background-color: rgb(155 135 194 / 50%); }
.gradient { background: linear-gradient(to right, #9b87c2, #b887c2); }
Similar colors
#9c87c1Petrified Purple#9488beMagic Carpet#967bb6Lavender Purple#a893c1Enchanted Lilac#b090c7Fleur-De-Lis#a090b8Wizard’s Brew#867ba9Aster#b19cd9Violet Velvet
Questions
- What color is #9B87C2?
- #9B87C2 is a light, desaturated violet, closest to the named color Petrified Purple. It belongs to the purple family of colors.
- What is the RGB value of #9B87C2?
- The RGB value is 155, 135, 194: 155 red, 135 green and 194 blue on a 0 to 255 scale.
- What is the complementary color of #9B87C2?
- The complementary color is #AEC287, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B87C2?
- Black text. Black text has a contrast ratio of 6.64:1 and white text 3.16:1. WCAG asks for at least 4.5:1 for normal text.