#9D7EA0 color
The hex color #9D7EA0 is a grayish magenta.
In the RGB color model it is made of 61.6% red, 49.4% green and 62.7% blue (157, 126, 160).
Its hue angle is 295°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 2% cyan, 21% magenta, 0% yellow and 37% black.
The closest named color is Amorous (#967D96), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.93:1).
#9D7EA0 color codes
| HEX | #9D7EA0 | |
|---|---|---|
| RGB | rgb(157, 126, 160) | |
| RGB percent | rgb(61.6%, 49.4%, 62.7%) | |
| HSL | hsl(295, 15%, 56%) | |
| HSV / HSB | hsv(295, 21%, 63%) | |
| CMYK | cmyk(2%, 21%, 0%, 37%) | |
| CIE LAB | lab(56.71, 18.13, -13.63) | |
| CIE LCH | lch(56.71, 22.68, 323.07) | |
| CIE XYZ | xyz(27.71, 24.628, 36.545) | |
| Decimal | 10321568 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D7EA0, 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 #9D7EA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.93:1 | Pass | Fail | Pass |
| Sample text | 3.54:1 | Fail | Fail | Pass |
| #9D7EA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.54:1 | Fail | Fail | Pass |
| Sample text | 5.93: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 #9D7EA0 looks to people with the most common types of color vision deficiency.
#7b86a1Protanopia
no red cones#82899fDeuteranopia
no green cones#9f818aTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #9d7ea0; }
.text { color: #9d7ea0; }
.border { border: 2px solid #9d7ea0; }
.transparent { background-color: rgb(157 126 160 / 50%); }
.gradient { background: linear-gradient(to right, #9d7ea0, #a07e92); }
Similar colors
#967d96Amorous#a97fb1Heart Potion#a37298Drama Queen#af8ba8Voila!#95859cHatoba Pigeon#91788cMuted Berry#ab7cb4Berries Galore#b090b2Metal Petal
Closest common color name: Lavender Purple.
Questions
- What color is #9D7EA0?
- #9D7EA0 is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #9D7EA0?
- The RGB value is 157, 126, 160: 157 red, 126 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #9D7EA0?
- The complementary color is #81A07E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D7EA0?
- Black text. Black text has a contrast ratio of 5.93:1 and white text 3.54:1. WCAG asks for at least 4.5:1 for normal text.