#9E88B3 color
The hex color #9E88B3 is a grayish violet.
In the RGB color model it is made of 62% red, 53.3% green and 70.2% blue (158, 136, 179).
Its hue angle is 271°, with 22% saturation and 62% lightness. For print, the CMYK equivalent is 12% cyan, 24% magenta, 0% yellow and 30% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.63:1).
#9E88B3 color codes
| HEX | #9E88B3 | |
|---|---|---|
| RGB | rgb(158, 136, 179) | |
| RGB percent | rgb(62%, 53.3%, 70.2%) | |
| HSL | hsl(271, 22%, 62%) | |
| HSV / HSB | hsv(271, 24%, 70%) | |
| CMYK | cmyk(12%, 24%, 0%, 30%) | |
| CIE LAB | lab(60.01, 16.7, -19.49) | |
| CIE LCH | lch(60.01, 25.67, 310.59) | |
| CIE XYZ | xyz(31.04, 28.132, 46.434) | |
| Decimal | 10389683 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E88B3, 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 #9E88B3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.63:1 | Pass | Fail | Pass |
| Sample text | 3.17:1 | Fail | Fail | Pass |
| #9E88B3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.63: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 #9E88B3 looks to people with the most common types of color vision deficiency.
#8190b5Protanopia
no red cones#8591b2Deuteranopia
no green cones#9b8e97Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #9e88b3; }
.text { color: #9e88b3; }
.border { border: 2px solid #9e88b3; }
.transparent { background-color: rgb(158 136 179 / 50%); }
.gradient { background: linear-gradient(to right, #9e88b3, #b388b3); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#9c87c1Petrified Purple#9488beMagic Carpet#b090c7Fleur-De-Lis#a97fb1Heart Potion#b090b2Metal Petal#967bb6Lavender Purple
Questions
- What color is #9E88B3?
- #9E88B3 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 #9E88B3?
- The RGB value is 158, 136, 179: 158 red, 136 green and 179 blue on a 0 to 255 scale.
- What is the complementary color of #9E88B3?
- The complementary color is #9DB388, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E88B3?
- Black text. Black text has a contrast ratio of 6.63:1 and white text 3.17:1. WCAG asks for at least 4.5:1 for normal text.