#9B7796 color
The hex color #9B7796 is a grayish magenta.
In the RGB color model it is made of 60.8% red, 46.7% green and 58.8% blue (155, 119, 150).
Its hue angle is 308°, with 15% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 3% yellow and 39% black.
The closest named color is Drama Queen (#A37298), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.47:1).
#9B7796 color codes
| HEX | #9B7796 | |
|---|---|---|
| RGB | rgb(155, 119, 150) | |
| RGB percent | rgb(60.8%, 46.7%, 58.8%) | |
| HSL | hsl(308, 15%, 54%) | |
| HSV / HSB | hsv(308, 23%, 61%) | |
| CMYK | cmyk(0%, 23%, 3%, 39%) | |
| CIE LAB | lab(54.41, 19.48, -11.32) | |
| CIE LCH | lch(54.41, 22.53, 329.85) | |
| CIE XYZ | xyz(25.619, 22.365, 31.816) | |
| Decimal | 10188694 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B7796, 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 #9B7796 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.47:1 | Pass | Fail | Pass |
| Sample text | 3.84:1 | Fail | Fail | Pass |
| #9B7796 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.84:1 | Fail | Fail | Pass |
| Sample text | 5.47: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 #9B7796 looks to people with the most common types of color vision deficiency.
#767f97Protanopia
no red cones#7e8495Deuteranopia
no green cones#9e7982Tritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #9b7796; }
.text { color: #9b7796; }
.border { border: 2px solid #9b7796; }
.transparent { background-color: rgb(155 119 150 / 50%); }
.gradient { background: linear-gradient(to right, #9b7796, #9b7784); }
Similar colors
#a37298Drama Queen#967d96Amorous#91788cMuted Berry#946985Fruit of Passion#a97fb1Heart Potion#847592Vintage#886688Sunshone Plum#af8ba8Voila!
Closest common color name: Lavender Purple.
Questions
- What color is #9B7796?
- #9B7796 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 #9B7796?
- The RGB value is 155, 119, 150: 155 red, 119 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #9B7796?
- The complementary color is #779B7C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B7796?
- Black text. Black text has a contrast ratio of 5.47:1 and white text 3.84:1. WCAG asks for at least 4.5:1 for normal text.