#9F7CA2 color
The hex color #9F7CA2 is a grayish magenta.
In the RGB color model it is made of 62.4% red, 48.6% green and 63.5% blue (159, 124, 162).
Its hue angle is 295°, with 17% saturation and 56% lightness. For print, the CMYK equivalent is 2% cyan, 23% magenta, 0% yellow and 36% black.
The closest named color is Heart Potion (#A97FB1), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.88:1).
#9F7CA2 color codes
| HEX | #9F7CA2 | |
|---|---|---|
| RGB | rgb(159, 124, 162) | |
| RGB percent | rgb(62.4%, 48.6%, 63.5%) | |
| HSL | hsl(295, 17%, 56%) | |
| HSV / HSB | hsv(295, 23%, 64%) | |
| CMYK | cmyk(2%, 23%, 0%, 36%) | |
| CIE LAB | lab(56.48, 20.38, -15.11) | |
| CIE LCH | lch(56.48, 25.37, 323.45) | |
| CIE XYZ | xyz(28.027, 24.396, 37.408) | |
| Decimal | 10452130 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F7CA2, 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 #9F7CA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.88:1 | Pass | Fail | Pass |
| Sample text | 3.57:1 | Fail | Fail | Pass |
| #9F7CA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.57:1 | Fail | Fail | Pass |
| Sample text | 5.88: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 #9F7CA2 looks to people with the most common types of color vision deficiency.
#7985a4Protanopia
no red cones#8189a1Deuteranopia
no green cones#a17f89Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #9f7ca2; }
.text { color: #9f7ca2; }
.border { border: 2px solid #9f7ca2; }
.transparent { background-color: rgb(159 124 162 / 50%); }
.gradient { background: linear-gradient(to right, #9f7ca2, #a27c92); }
Similar colors
#a97fb1Heart Potion#a37298Drama Queen#967d96Amorous#ab7cb4Berries Galore#af8ba8Voila!#b97da8Romanov Mauve#b090b2Metal Petal#91788cMuted Berry
Closest common color name: Lavender Purple.
Questions
- What color is #9F7CA2?
- #9F7CA2 is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
- What is the RGB value of #9F7CA2?
- The RGB value is 159, 124, 162: 159 red, 124 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #9F7CA2?
- The complementary color is #7FA27C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F7CA2?
- Black text. Black text has a contrast ratio of 5.88:1 and white text 3.57:1. WCAG asks for at least 4.5:1 for normal text.