#9F789B color
The hex color #9F789B is a grayish magenta.
In the RGB color model it is made of 62.4% red, 47.1% green and 60.8% blue (159, 120, 155).
Its hue angle is 306°, with 17% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 25% magenta, 3% yellow and 38% black.
The closest named color is Drama Queen (#A37298), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.63:1).
#9F789B color codes
| HEX | #9F789B | |
|---|---|---|
| RGB | rgb(159, 120, 155) | |
| RGB percent | rgb(62.4%, 47.1%, 60.8%) | |
| HSL | hsl(306, 17%, 55%) | |
| HSV / HSB | hsv(306, 25%, 62%) | |
| CMYK | cmyk(0%, 25%, 3%, 38%) | |
| CIE LAB | lab(55.25, 21.3, -12.92) | |
| CIE LCH | lch(55.25, 24.91, 328.75) | |
| CIE XYZ | xyz(26.93, 23.171, 34.058) | |
| Decimal | 10451099 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F789B, 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 #9F789B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.63:1 | Pass | Fail | Pass |
| Sample text | 3.73:1 | Fail | Fail | Pass |
| #9F789B 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 #9F789B looks to people with the most common types of color vision deficiency.
#77819cProtanopia
no red cones#80869aDeuteranopia
no green cones#a27a84Tritanopia
no blue cones#848484Achromatopsia
no color vision
CSS examples
.background { background-color: #9f789b; }
.text { color: #9f789b; }
.border { border: 2px solid #9f789b; }
.transparent { background-color: rgb(159 120 155 / 50%); }
.gradient { background: linear-gradient(to right, #9f789b, #9f7888); }
Similar colors
#a37298Drama Queen#967d96Amorous#a97fb1Heart Potion#b97da8Romanov Mauve#91788cMuted Berry#ab7cb4Berries Galore#946985Fruit of Passion#af8ba8Voila!
Closest common color name: Lavender Purple.
Questions
- What color is #9F789B?
- #9F789B 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 #9F789B?
- The RGB value is 159, 120, 155: 159 red, 120 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #9F789B?
- The complementary color is #789F7C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F789B?
- 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.