#9E6CA2 color
The hex color #9E6CA2 is a grayish magenta.
In the RGB color model it is made of 62% red, 42.4% green and 63.5% blue (158, 108, 162).
Its hue angle is 296°, with 22% saturation and 53% lightness. For print, the CMYK equivalent is 2% cyan, 33% magenta, 0% yellow and 36% black.
The closest named color is Crown Jewels (#946DAD), a difference of 4.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.12:1).
#9E6CA2 color codes
| HEX | #9E6CA2 | |
|---|---|---|
| RGB | rgb(158, 108, 162) | |
| RGB percent | rgb(62%, 42.4%, 63.5%) | |
| HSL | hsl(296, 22%, 53%) | |
| HSV / HSB | hsv(296, 33%, 64%) | |
| CMYK | cmyk(2%, 33%, 0%, 36%) | |
| CIE LAB | lab(52.51, 29.19, -21.17) | |
| CIE LCH | lch(52.51, 36.06, 324.06) | |
| CIE XYZ | xyz(25.984, 20.604, 36.784) | |
| Decimal | 10382498 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E6CA2, 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 #9E6CA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.12:1 | Pass | Fail | Pass |
| Sample text | 4.1:1 | Fail | Fail | Pass |
| #9E6CA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.1:1 | Fail | Fail | Pass |
| Sample text | 5.12: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 #9E6CA2 looks to people with the most common types of color vision deficiency.
#677aa4Protanopia
no red cones#737fa0Deuteranopia
no green cones#a07180Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #9e6ca2; }
.text { color: #9e6ca2; }
.border { border: 2px solid #9e6ca2; }
.transparent { background-color: rgb(158 108 162 / 50%); }
.gradient { background: linear-gradient(to right, #9e6ca2, #a26c8b); }
Similar colors
#946dadCrown Jewels#a37298Drama Queen#ab7cb4Berries Galore#a97fb1Heart Potion#9d5a8fBermuda Onion#a264baPrickly Purple#967bb6Lavender Purple#886688Sunshone Plum
Questions
- What color is #9E6CA2?
- #9E6CA2 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 #9E6CA2?
- The RGB value is 158, 108, 162: 158 red, 108 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #9E6CA2?
- The complementary color is #70A26C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E6CA2?
- Black text. Black text has a contrast ratio of 5.12:1 and white text 4.1:1. WCAG asks for at least 4.5:1 for normal text.