#9E6CA1 color
The hex color #9E6CA1 is a grayish magenta.
In the RGB color model it is made of 62% red, 42.4% green and 63.1% blue (158, 108, 161).
Its hue angle is 297°, with 22% saturation and 53% lightness. For print, the CMYK equivalent is 2% cyan, 33% magenta, 0% yellow and 37% black.
The closest named color is Drama Queen (#A37298), a difference of 4.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.11:1).
#9E6CA1 color codes
| HEX | #9E6CA1 | |
|---|---|---|
| RGB | rgb(158, 108, 161) | |
| RGB percent | rgb(62%, 42.4%, 63.1%) | |
| HSL | hsl(297, 22%, 53%) | |
| HSV / HSB | hsv(297, 33%, 63%) | |
| CMYK | cmyk(2%, 33%, 0%, 37%) | |
| CIE LAB | lab(52.47, 28.99, -20.64) | |
| CIE LCH | lch(52.47, 35.59, 324.55) | |
| CIE XYZ | xyz(25.895, 20.568, 36.317) | |
| Decimal | 10382497 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E6CA1, 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 #9E6CA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.11:1 | Pass | Fail | Pass |
| Sample text | 4.11:1 | Fail | Fail | Pass |
| #9E6CA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.11:1 | Fail | Fail | Pass |
| Sample text | 5.11: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 #9E6CA1 looks to people with the most common types of color vision deficiency.
#6779a3Protanopia
no red cones#747f9fDeuteranopia
no green cones#a1717fTritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #9e6ca1; }
.text { color: #9e6ca1; }
.border { border: 2px solid #9e6ca1; }
.transparent { background-color: rgb(158 108 161 / 50%); }
.gradient { background: linear-gradient(to right, #9e6ca1, #a16c8a); }
Similar colors
#a37298Drama Queen#946dadCrown Jewels#ab7cb4Berries Galore#9d5a8fBermuda Onion#a97fb1Heart Potion#886688Sunshone Plum#967bb6Lavender Purple#946985Fruit of Passion
Questions
- What color is #9E6CA1?
- #9E6CA1 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 #9E6CA1?
- The RGB value is 158, 108, 161: 158 red, 108 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #9E6CA1?
- The complementary color is #6FA16C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E6CA1?
- Black text. Black text has a contrast ratio of 5.11:1 and white text 4.11:1. WCAG asks for at least 4.5:1 for normal text.