#9E7F9B color
The hex color #9E7F9B is a grayish magenta.
In the RGB color model it is made of 62% red, 49.8% green and 60.8% blue (158, 127, 155).
Its hue angle is 306°, with 14% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 2% yellow and 38% black.
The closest named color is Amorous (#967D96), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.96:1).
#9E7F9B color codes
| HEX | #9E7F9B | |
|---|---|---|
| RGB | rgb(158, 127, 155) | |
| RGB percent | rgb(62%, 49.8%, 60.8%) | |
| HSL | hsl(306, 14%, 56%) | |
| HSV / HSB | hsv(306, 20%, 62%) | |
| CMYK | cmyk(0%, 20%, 2%, 38%) | |
| CIE LAB | lab(56.89, 16.92, -10.46) | |
| CIE LCH | lch(56.89, 19.89, 328.29) | |
| CIE XYZ | xyz(27.606, 24.815, 34.34) | |
| Decimal | 10387355 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E7F9B, 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 #9E7F9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.96:1 | Pass | Fail | Pass |
| Sample text | 3.52:1 | Fail | Fail | Pass |
| #9E7F9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.52:1 | Fail | Fail | Pass |
| Sample text | 5.96: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 #9E7F9B looks to people with the most common types of color vision deficiency.
#7e869cProtanopia
no red cones#858a9aDeuteranopia
no green cones#a18188Tritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #9e7f9b; }
.text { color: #9e7f9b; }
.border { border: 2px solid #9e7f9b; }
.transparent { background-color: rgb(158 127 155 / 50%); }
.gradient { background: linear-gradient(to right, #9e7f9b, #9e7f8b); }
Similar colors
#967d96Amorous#91788cMuted Berry#af8ba8Voila!#95859cHatoba Pigeon#a37298Drama Queen#b090b2Metal Petal#a97fb1Heart Potion#948593Femme Fatale
Closest common color name: Lavender Purple.
Questions
- What color is #9E7F9B?
- #9E7F9B is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #9E7F9B?
- The RGB value is 158, 127, 155: 158 red, 127 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #9E7F9B?
- The complementary color is #7F9E82, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E7F9B?
- Black text. Black text has a contrast ratio of 5.96:1 and white text 3.52:1. WCAG asks for at least 4.5:1 for normal text.