#9F7E97 color
The hex color #9F7E97 is a grayish magenta.
In the RGB color model it is made of 62.4% red, 49.4% green and 59.2% blue (159, 126, 151).
Its hue angle is 315°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 21% magenta, 5% yellow and 38% black.
The closest named color is Amorous (#967D96), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.91:1).
#9F7E97 color codes
| HEX | #9F7E97 | |
|---|---|---|
| RGB | rgb(159, 126, 151) | |
| RGB percent | rgb(62.4%, 49.4%, 59.2%) | |
| HSL | hsl(315, 15%, 56%) | |
| HSV / HSB | hsv(315, 21%, 62%) | |
| CMYK | cmyk(0%, 21%, 5%, 38%) | |
| CIE LAB | lab(56.61, 17.09, -8.56) | |
| CIE LCH | lch(56.61, 19.11, 333.4) | |
| CIE XYZ | xyz(27.344, 24.528, 32.566) | |
| Decimal | 10452631 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F7E97, 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 #9F7E97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.91:1 | Pass | Fail | Pass |
| Sample text | 3.56:1 | Fail | Fail | Pass |
| #9F7E97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.56:1 | Fail | Fail | Pass |
| Sample text | 5.91: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 #9F7E97 looks to people with the most common types of color vision deficiency.
#7e8598Protanopia
no red cones#858996Deuteranopia
no green cones#a37f86Tritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #9f7e97; }
.text { color: #9f7e97; }
.border { border: 2px solid #9f7e97; }
.transparent { background-color: rgb(159 126 151 / 50%); }
.gradient { background: linear-gradient(to right, #9f7e97, #9f7e87); }
Similar colors
#967d96Amorous#91788cMuted Berry#af8ba8Voila!#a37298Drama Queen#95859cHatoba Pigeon#b090b2Metal Petal#a67283Never Forget#948593Femme Fatale
Closest common color name: Pastel Purple.
Questions
- What color is #9F7E97?
- #9F7E97 is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #9F7E97?
- The RGB value is 159, 126, 151: 159 red, 126 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #9F7E97?
- The complementary color is #7E9F86, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F7E97?
- Black text. Black text has a contrast ratio of 5.91:1 and white text 3.56:1. WCAG asks for at least 4.5:1 for normal text.