#9A6B97 color
The hex color #9A6B97 is a grayish magenta.
In the RGB color model it is made of 60.4% red, 42% green and 59.2% blue (154, 107, 151).
Its hue angle is 304°, with 19% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 2% yellow and 40% black.
The closest named color is Drama Queen (#A37298), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.92:1).
#9A6B97 color codes
| HEX | #9A6B97 | |
|---|---|---|
| RGB | rgb(154, 107, 151) | |
| RGB percent | rgb(60.4%, 42%, 59.2%) | |
| HSL | hsl(304, 19%, 51%) | |
| HSV / HSB | hsv(304, 31%, 60%) | |
| CMYK | cmyk(0%, 31%, 2%, 40%) | |
| CIE LAB | lab(51.41, 26.23, -16.46) | |
| CIE LCH | lch(51.41, 30.97, 327.89) | |
| CIE XYZ | xyz(24.17, 19.621, 31.786) | |
| Decimal | 10120087 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A6B97, 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 #9A6B97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.92:1 | Pass | Fail | Pass |
| Sample text | 4.26:1 | Fail | Fail | Pass |
| #9A6B97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.26:1 | Fail | Fail | Pass |
| Sample text | 4.92: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 #9A6B97 looks to people with the most common types of color vision deficiency.
#697799Protanopia
no red cones#747d95Deuteranopia
no green cones#9d6e7bTritanopia
no blue cones#7a7a7aAchromatopsia
no color vision
CSS examples
.background { background-color: #9a6b97; }
.text { color: #9a6b97; }
.border { border: 2px solid #9a6b97; }
.transparent { background-color: rgb(154 107 151 / 50%); }
.gradient { background: linear-gradient(to right, #9a6b97, #9a6b7f); }
Similar colors
#a37298Drama Queen#946985Fruit of Passion#886688Sunshone Plum#9d5a8fBermuda Onion#946dadCrown Jewels#b36b92Je t’aime#9d5783Feminism#a15589Purple Zergling
Closest common color name: Lavender Purple.
Questions
- What color is #9A6B97?
- #9A6B97 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 #9A6B97?
- The RGB value is 154, 107, 151: 154 red, 107 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #9A6B97?
- The complementary color is #6B9A6E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A6B97?
- Black text. Black text has a contrast ratio of 4.92:1 and white text 4.26:1. WCAG asks for at least 4.5:1 for normal text.