#9D6DA2 color
The hex color #9D6DA2 is a grayish magenta.
In the RGB color model it is made of 61.6% red, 42.7% green and 63.5% blue (157, 109, 162).
Its hue angle is 294°, with 22% saturation and 53% lightness. For print, the CMYK equivalent is 3% cyan, 33% magenta, 0% yellow and 36% black.
The closest named color is Crown Jewels (#946DAD), a difference of 4.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.14:1).
#9D6DA2 color codes
| HEX | #9D6DA2 | |
|---|---|---|
| RGB | rgb(157, 109, 162) | |
| RGB percent | rgb(61.6%, 42.7%, 63.5%) | |
| HSL | hsl(294, 22%, 53%) | |
| HSV / HSB | hsv(294, 33%, 64%) | |
| CMYK | cmyk(3%, 33%, 0%, 36%) | |
| CIE LAB | lab(52.64, 28.29, -20.99) | |
| CIE LCH | lch(52.64, 35.22, 323.43) | |
| CIE XYZ | xyz(25.894, 20.715, 36.81) | |
| Decimal | 10317218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D6DA2, 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 #9D6DA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.14:1 | Pass | Fail | Pass |
| Sample text | 4.08:1 | Fail | Fail | Pass |
| #9D6DA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.08:1 | Fail | Fail | Pass |
| Sample text | 5.14: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 #9D6DA2 looks to people with the most common types of color vision deficiency.
#687aa4Protanopia
no red cones#7480a0Deuteranopia
no green cones#9f7280Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #9d6da2; }
.text { color: #9d6da2; }
.border { border: 2px solid #9d6da2; }
.transparent { background-color: rgb(157 109 162 / 50%); }
.gradient { background: linear-gradient(to right, #9d6da2, #a26d8c); }
Similar colors
#946dadCrown Jewels#a37298Drama Queen#ab7cb4Berries Galore#a97fb1Heart Potion#9d5a8fBermuda Onion#967bb6Lavender Purple#886688Sunshone Plum#966ebdViola
Questions
- What color is #9D6DA2?
- #9D6DA2 is a grayish magenta, closest to the named color Crown Jewels. It belongs to the purple family of colors.
- What is the RGB value of #9D6DA2?
- The RGB value is 157, 109, 162: 157 red, 109 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #9D6DA2?
- The complementary color is #72A26D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D6DA2?
- Black text. Black text has a contrast ratio of 5.14:1 and white text 4.08:1. WCAG asks for at least 4.5:1 for normal text.