#9C7A9F color
The hex color #9C7A9F is a grayish magenta.
In the RGB color model it is made of 61.2% red, 47.8% green and 62.4% blue (156, 122, 159).
Its hue angle is 295°, with 16% saturation and 55% lightness. For print, the CMYK equivalent is 2% cyan, 23% magenta, 0% yellow and 38% black.
The closest named color is Drama Queen (#A37298), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.7:1).
#9C7A9F color codes
| HEX | #9C7A9F | |
|---|---|---|
| RGB | rgb(156, 122, 159) | |
| RGB percent | rgb(61.2%, 47.8%, 62.4%) | |
| HSL | hsl(295, 16%, 55%) | |
| HSV / HSB | hsv(295, 23%, 62%) | |
| CMYK | cmyk(2%, 23%, 0%, 38%) | |
| CIE LAB | lab(55.57, 19.88, -14.78) | |
| CIE LCH | lch(55.57, 24.77, 323.37) | |
| CIE XYZ | xyz(26.927, 23.491, 35.91) | |
| Decimal | 10255007 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9C7A9F, 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 #9C7A9F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.7:1 | Pass | Fail | Pass |
| Sample text | 3.69:1 | Fail | Fail | Pass |
| #9C7A9F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.69:1 | Fail | Fail | Pass |
| Sample text | 5.7: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 #9C7A9F looks to people with the most common types of color vision deficiency.
#7783a1Protanopia
no red cones#7f879eDeuteranopia
no green cones#9e7d87Tritanopia
no blue cones#858585Achromatopsia
no color vision
CSS examples
.background { background-color: #9c7a9f; }
.text { color: #9c7a9f; }
.border { border: 2px solid #9c7a9f; }
.transparent { background-color: rgb(156 122 159 / 50%); }
.gradient { background: linear-gradient(to right, #9c7a9f, #9f7a8f); }
Similar colors
#a37298Drama Queen#967d96Amorous#a97fb1Heart Potion#ab7cb4Berries Galore#91788cMuted Berry#af8ba8Voila!#b97da8Romanov Mauve#95859cHatoba Pigeon
Closest common color name: Lavender Purple.
Questions
- What color is #9C7A9F?
- #9C7A9F 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 #9C7A9F?
- The RGB value is 156, 122, 159: 156 red, 122 green and 159 blue on a 0 to 255 scale.
- What is the complementary color of #9C7A9F?
- The complementary color is #7D9F7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9C7A9F?
- Black text. Black text has a contrast ratio of 5.7:1 and white text 3.69:1. WCAG asks for at least 4.5:1 for normal text.