#9D7AA0 color
The hex color #9D7AA0 is a grayish magenta.
In the RGB color model it is made of 61.6% red, 47.8% green and 62.7% blue (157, 122, 160).
Its hue angle is 295°, with 17% saturation and 55% lightness. For print, the CMYK equivalent is 2% cyan, 24% magenta, 0% yellow and 37% black.
The closest named color is Drama Queen (#A37298), a difference of 3.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.73:1).
#9D7AA0 color codes
| HEX | #9D7AA0 | |
|---|---|---|
| RGB | rgb(157, 122, 160) | |
| RGB percent | rgb(61.6%, 47.8%, 62.7%) | |
| HSL | hsl(295, 17%, 55%) | |
| HSV / HSB | hsv(295, 24%, 63%) | |
| CMYK | cmyk(2%, 24%, 0%, 37%) | |
| CIE LAB | lab(55.71, 20.43, -15.14) | |
| CIE LCH | lch(55.71, 25.43, 323.46) | |
| CIE XYZ | xyz(27.209, 23.626, 36.378) | |
| Decimal | 10320544 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D7AA0, 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 #9D7AA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.73:1 | Pass | Fail | Pass |
| Sample text | 3.67:1 | Fail | Fail | Pass |
| #9D7AA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.67:1 | Fail | Fail | Pass |
| Sample text | 5.73: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 #9D7AA0 looks to people with the most common types of color vision deficiency.
#7783a2Protanopia
no red cones#7f879fDeuteranopia
no green cones#9f7d87Tritanopia
no blue cones#858585Achromatopsia
no color vision
CSS examples
.background { background-color: #9d7aa0; }
.text { color: #9d7aa0; }
.border { border: 2px solid #9d7aa0; }
.transparent { background-color: rgb(157 122 160 / 50%); }
.gradient { background: linear-gradient(to right, #9d7aa0, #a07a90); }
Similar colors
#a37298Drama Queen#a97fb1Heart Potion#967d96Amorous#ab7cb4Berries Galore#91788cMuted Berry#af8ba8Voila!#b97da8Romanov Mauve#967bb6Lavender Purple
Questions
- What color is #9D7AA0?
- #9D7AA0 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 #9D7AA0?
- The RGB value is 157, 122, 160: 157 red, 122 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #9D7AA0?
- The complementary color is #7DA07A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D7AA0?
- Black text. Black text has a contrast ratio of 5.73:1 and white text 3.67:1. WCAG asks for at least 4.5:1 for normal text.