#9C7B9E color
The hex color #9C7B9E is a grayish magenta.
In the RGB color model it is made of 61.2% red, 48.2% green and 62% blue (156, 123, 158).
Its hue angle is 297°, with 15% saturation and 55% lightness. For print, the CMYK equivalent is 1% cyan, 22% magenta, 0% yellow and 38% black.
The closest named color is Amorous (#967D96), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.74:1).
#9C7B9E color codes
| HEX | #9C7B9E | |
|---|---|---|
| RGB | rgb(156, 123, 158) | |
| RGB percent | rgb(61.2%, 48.2%, 62%) | |
| HSL | hsl(297, 15%, 55%) | |
| HSV / HSB | hsv(297, 22%, 62%) | |
| CMYK | cmyk(1%, 22%, 0%, 38%) | |
| CIE LAB | lab(55.79, 19.1, -13.87) | |
| CIE LCH | lch(55.79, 23.61, 324.01) | |
| CIE XYZ | xyz(26.964, 23.703, 35.496) | |
| Decimal | 10255262 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9C7B9E, 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 #9C7B9E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.74:1 | Pass | Fail | Pass |
| Sample text | 3.66:1 | Fail | Fail | Pass |
| #9C7B9E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.66:1 | Fail | Fail | Pass |
| Sample text | 5.74: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 #9C7B9E looks to people with the most common types of color vision deficiency.
#78839fProtanopia
no red cones#80879dDeuteranopia
no green cones#9e7e87Tritanopia
no blue cones#868686Achromatopsia
no color vision
CSS examples
.background { background-color: #9c7b9e; }
.text { color: #9c7b9e; }
.border { border: 2px solid #9c7b9e; }
.transparent { background-color: rgb(156 123 158 / 50%); }
.gradient { background: linear-gradient(to right, #9c7b9e, #9e7b8f); }
Similar colors
#967d96Amorous#a37298Drama Queen#a97fb1Heart Potion#91788cMuted Berry#ab7cb4Berries Galore#af8ba8Voila!#95859cHatoba Pigeon#b97da8Romanov Mauve
Closest common color name: Lavender Purple.
Questions
- What color is #9C7B9E?
- #9C7B9E is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #9C7B9E?
- The RGB value is 156, 123, 158: 156 red, 123 green and 158 blue on a 0 to 255 scale.
- What is the complementary color of #9C7B9E?
- The complementary color is #7D9E7B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9C7B9E?
- Black text. Black text has a contrast ratio of 5.74:1 and white text 3.66:1. WCAG asks for at least 4.5:1 for normal text.