#9B7898 color
The hex color #9B7898 is a grayish magenta.
In the RGB color model it is made of 60.8% red, 47.1% green and 59.6% blue (155, 120, 152).
Its hue angle is 305°, with 15% saturation and 54% lightness. For print, the CMYK equivalent is 0% cyan, 23% magenta, 2% yellow and 39% black.
The closest named color is Drama Queen (#A37298), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.53:1).
#9B7898 color codes
| HEX | #9B7898 | |
|---|---|---|
| RGB | rgb(155, 120, 152) | |
| RGB percent | rgb(60.8%, 47.1%, 59.6%) | |
| HSL | hsl(305, 15%, 54%) | |
| HSV / HSB | hsv(305, 23%, 61%) | |
| CMYK | cmyk(0%, 23%, 2%, 39%) | |
| CIE LAB | lab(54.73, 19.29, -12) | |
| CIE LCH | lch(54.73, 22.72, 328.11) | |
| CIE XYZ | xyz(25.901, 22.669, 32.711) | |
| Decimal | 10188952 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B7898, 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 #9B7898 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.53:1 | Pass | Fail | Pass |
| Sample text | 3.79:1 | Fail | Fail | Pass |
| #9B7898 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.79:1 | Fail | Fail | Pass |
| Sample text | 5.53: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 #9B7898 looks to people with the most common types of color vision deficiency.
#778099Protanopia
no red cones#7f8597Deuteranopia
no green cones#9e7a83Tritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #9b7898; }
.text { color: #9b7898; }
.border { border: 2px solid #9b7898; }
.transparent { background-color: rgb(155 120 152 / 50%); }
.gradient { background: linear-gradient(to right, #9b7898, #9b7887); }
Similar colors
#a37298Drama Queen#967d96Amorous#91788cMuted Berry#946985Fruit of Passion#a97fb1Heart Potion#af8ba8Voila!#847592Vintage#95859cHatoba Pigeon
Closest common color name: Lavender Purple.
Questions
- What color is #9B7898?
- #9B7898 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 #9B7898?
- The RGB value is 155, 120, 152: 155 red, 120 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #9B7898?
- The complementary color is #789B7B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B7898?
- Black text. Black text has a contrast ratio of 5.53:1 and white text 3.79:1. WCAG asks for at least 4.5:1 for normal text.