#9E6FA0 color
The hex color #9E6FA0 is a grayish magenta.
In the RGB color model it is made of 62% red, 43.5% green and 62.7% blue (158, 111, 160).
Its hue angle is 298°, with 21% saturation and 53% lightness. For print, the CMYK equivalent is 1% cyan, 31% magenta, 0% yellow and 37% black.
The closest named color is Drama Queen (#A37298), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.24:1).
#9E6FA0 color codes
| HEX | #9E6FA0 | |
|---|---|---|
| RGB | rgb(158, 111, 160) | |
| RGB percent | rgb(62%, 43.5%, 62.7%) | |
| HSL | hsl(298, 21%, 53%) | |
| HSV / HSB | hsv(298, 31%, 63%) | |
| CMYK | cmyk(1%, 31%, 0%, 37%) | |
| CIE LAB | lab(53.14, 27.08, -19.04) | |
| CIE LCH | lch(53.14, 33.11, 324.9) | |
| CIE XYZ | xyz(26.13, 21.177, 35.962) | |
| Decimal | 10383264 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E6FA0, 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 #9E6FA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.24:1 | Pass | Fail | Pass |
| Sample text | 4.01:1 | Fail | Fail | Pass |
| #9E6FA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.01:1 | Fail | Fail | Pass |
| Sample text | 5.24: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 #9E6FA0 looks to people with the most common types of color vision deficiency.
#6b7ba2Protanopia
no red cones#76819eDeuteranopia
no green cones#a17381Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #9e6fa0; }
.text { color: #9e6fa0; }
.border { border: 2px solid #9e6fa0; }
.transparent { background-color: rgb(158 111 160 / 50%); }
.gradient { background: linear-gradient(to right, #9e6fa0, #a06f89); }
Similar colors
#a37298Drama Queen#946dadCrown Jewels#ab7cb4Berries Galore#a97fb1Heart Potion#886688Sunshone Plum#946985Fruit of Passion#9d5a8fBermuda Onion#967bb6Lavender Purple
Questions
- What color is #9E6FA0?
- #9E6FA0 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 #9E6FA0?
- The RGB value is 158, 111, 160: 158 red, 111 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #9E6FA0?
- The complementary color is #71A06F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E6FA0?
- Black text. Black text has a contrast ratio of 5.24:1 and white text 4.01:1. WCAG asks for at least 4.5:1 for normal text.