#9E6F9A color
The hex color #9E6F9A is a grayish magenta.
In the RGB color model it is made of 62% red, 43.5% green and 60.4% blue (158, 111, 154).
Its hue angle is 305°, with 20% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 3% yellow and 38% black.
The closest named color is Drama Queen (#A37298), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.19:1).
#9E6F9A color codes
| HEX | #9E6F9A | |
|---|---|---|
| RGB | rgb(158, 111, 154) | |
| RGB percent | rgb(62%, 43.5%, 60.4%) | |
| HSL | hsl(305, 20%, 53%) | |
| HSV / HSB | hsv(305, 30%, 62%) | |
| CMYK | cmyk(0%, 30%, 3%, 38%) | |
| CIE LAB | lab(52.92, 25.91, -15.87) | |
| CIE LCH | lch(52.92, 30.39, 328.51) | |
| CIE XYZ | xyz(25.617, 20.972, 33.264) | |
| Decimal | 10383258 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E6F9A, 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 #9E6F9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.19:1 | Pass | Fail | Pass |
| Sample text | 4.04:1 | Fail | Fail | Pass |
| #9E6F9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.04:1 | Fail | Fail | Pass |
| Sample text | 5.19: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 #9E6F9A looks to people with the most common types of color vision deficiency.
#6d7a9cProtanopia
no red cones#788198Deuteranopia
no green cones#a2727eTritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #9e6f9a; }
.text { color: #9e6f9a; }
.border { border: 2px solid #9e6f9a; }
.transparent { background-color: rgb(158 111 154 / 50%); }
.gradient { background: linear-gradient(to right, #9e6f9a, #9e6f83); }
Similar colors
#a37298Drama Queen#946985Fruit of Passion#a97fb1Heart Potion#b36b92Je t’aime#886688Sunshone Plum#ab7cb4Berries Galore#946dadCrown Jewels#9d5a8fBermuda Onion
Closest common color name: Lavender Purple.
Questions
- What color is #9E6F9A?
- #9E6F9A 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 #9E6F9A?
- The RGB value is 158, 111, 154: 158 red, 111 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #9E6F9A?
- The complementary color is #6F9E73, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E6F9A?
- Black text. Black text has a contrast ratio of 5.19:1 and white text 4.04:1. WCAG asks for at least 4.5:1 for normal text.