#9E789D color
The hex color #9E789D is a grayish magenta.
In the RGB color model it is made of 62% red, 47.1% green and 61.6% blue (158, 120, 157).
Its hue angle is 302°, with 16% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 24% magenta, 1% yellow and 38% black.
The closest named color is Drama Queen (#A37298), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.63:1).
#9E789D color codes
| HEX | #9E789D | |
|---|---|---|
| RGB | rgb(158, 120, 157) | |
| RGB percent | rgb(62%, 47.1%, 61.6%) | |
| HSL | hsl(302, 16%, 55%) | |
| HSV / HSB | hsv(302, 24%, 62%) | |
| CMYK | cmyk(0%, 24%, 1%, 38%) | |
| CIE LAB | lab(55.21, 21.33, -14.14) | |
| CIE LCH | lch(55.21, 25.6, 326.45) | |
| CIE XYZ | xyz(26.902, 23.137, 34.941) | |
| Decimal | 10385565 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E789D, 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 #9E789D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.63:1 | Pass | Fail | Pass |
| Sample text | 3.73:1 | Fail | Fail | Pass |
| #9E789D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.73:1 | Fail | Fail | Pass |
| Sample text | 5.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 #9E789D looks to people with the most common types of color vision deficiency.
#76819fProtanopia
no red cones#7e869cDeuteranopia
no green cones#a17b85Tritanopia
no blue cones#848484Achromatopsia
no color vision
CSS examples
.background { background-color: #9e789d; }
.text { color: #9e789d; }
.border { border: 2px solid #9e789d; }
.transparent { background-color: rgb(158 120 157 / 50%); }
.gradient { background: linear-gradient(to right, #9e789d, #9e788a); }
Similar colors
#a37298Drama Queen#967d96Amorous#a97fb1Heart Potion#ab7cb4Berries Galore#b97da8Romanov Mauve#91788cMuted Berry#946985Fruit of Passion#af8ba8Voila!
Closest common color name: Lavender Purple.
Questions
- What color is #9E789D?
- #9E789D is a grayish magenta, closest to the named color Drama Queen. It belongs to the purple family of colors.
- What is the RGB value of #9E789D?
- The RGB value is 158, 120, 157: 158 red, 120 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #9E789D?
- The complementary color is #789E79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E789D?
- Black text. Black text has a contrast ratio of 5.63:1 and white text 3.73:1. WCAG asks for at least 4.5:1 for normal text.