#9F87BA color
The hex color #9F87BA is a light, desaturated violet.
In the RGB color model it is made of 62.4% red, 52.9% green and 72.9% blue (159, 135, 186).
Its hue angle is 268°, with 27% saturation and 63% lightness. For print, the CMYK equivalent is 15% cyan, 27% magenta, 0% yellow and 27% black.
The closest named color is Petrified Purple (#9C87C1), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.65:1).
#9F87BA color codes
| HEX | #9F87BA | |
|---|---|---|
| RGB | rgb(159, 135, 186) | |
| RGB percent | rgb(62.4%, 52.9%, 72.9%) | |
| HSL | hsl(268, 27%, 63%) | |
| HSV / HSB | hsv(268, 27%, 73%) | |
| CMYK | cmyk(15%, 27%, 0%, 27%) | |
| CIE LAB | lab(60.11, 19.14, -23.3) | |
| CIE LCH | lch(60.11, 30.16, 309.4) | |
| CIE XYZ | xyz(31.823, 28.244, 50.22) | |
| Decimal | 10454970 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F87BA, 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 #9F87BA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.65:1 | Pass | Fail | Pass |
| Sample text | 3.16:1 | Fail | Fail | Pass |
| #9F87BA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.16:1 | Fail | Fail | Pass |
| Sample text | 6.65: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 #9F87BA looks to people with the most common types of color vision deficiency.
#7e90bcProtanopia
no red cones#8291b8Deuteranopia
no green cones#9b8e99Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #9f87ba; }
.text { color: #9f87ba; }
.border { border: 2px solid #9f87ba; }
.transparent { background-color: rgb(159 135 186 / 50%); }
.gradient { background: linear-gradient(to right, #9f87ba, #b987ba); }
Similar colors
#9c87c1Petrified Purple#9488beMagic Carpet#a893c1Enchanted Lilac#a090b8Wizard’s Brew#b090c7Fleur-De-Lis#967bb6Lavender Purple#a97fb1Heart Potion#ab7cb4Berries Galore
Questions
- What color is #9F87BA?
- #9F87BA 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 #9F87BA?
- The RGB value is 159, 135, 186: 159 red, 135 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #9F87BA?
- The complementary color is #A2BA87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F87BA?
- Black text. Black text has a contrast ratio of 6.65:1 and white text 3.16:1. WCAG asks for at least 4.5:1 for normal text.