#9B7BAD color
The hex color #9B7BAD is a grayish violet.
In the RGB color model it is made of 60.8% red, 48.2% green and 67.8% blue (155, 123, 173).
Its hue angle is 278°, with 23% saturation and 58% lightness. For print, the CMYK equivalent is 10% cyan, 29% magenta, 0% yellow and 32% black.
The closest named color is Lavender Purple (#967BB6), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.83:1).
#9B7BAD color codes
| HEX | #9B7BAD | |
|---|---|---|
| RGB | rgb(155, 123, 173) | |
| RGB percent | rgb(60.8%, 48.2%, 67.8%) | |
| HSL | hsl(278, 23%, 58%) | |
| HSV / HSB | hsv(278, 29%, 68%) | |
| CMYK | cmyk(10%, 29%, 0%, 32%) | |
| CIE LAB | lab(56.24, 21.88, -21.85) | |
| CIE LCH | lch(56.24, 30.92, 315.04) | |
| CIE XYZ | xyz(28.142, 24.152, 42.706) | |
| Decimal | 10189741 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B7BAD, 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 #9B7BAD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.83:1 | Pass | Fail | Pass |
| Sample text | 3.6:1 | Fail | Fail | Pass |
| #9B7BAD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.6:1 | Fail | Fail | Pass |
| Sample text | 5.83: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 #9B7BAD looks to people with the most common types of color vision deficiency.
#7385afProtanopia
no red cones#7a88abDeuteranopia
no green cones#9a818dTritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #9b7bad; }
.text { color: #9b7bad; }
.border { border: 2px solid #9b7bad; }
.transparent { background-color: rgb(155 123 173 / 50%); }
.gradient { background: linear-gradient(to right, #9b7bad, #ad7ba6); }
Similar colors
#967bb6Lavender Purple#a97fb1Heart Potion#ab7cb4Berries Galore#946dadCrown Jewels#9c87c1Petrified Purple#867ba9Aster#9488beMagic Carpet#a37298Drama Queen
Questions
- What color is #9B7BAD?
- #9B7BAD is a grayish violet, closest to the named color Lavender Purple. It belongs to the purple family of colors.
- What is the RGB value of #9B7BAD?
- The RGB value is 155, 123, 173: 155 red, 123 green and 173 blue on a 0 to 255 scale.
- What is the complementary color of #9B7BAD?
- The complementary color is #8DAD7B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B7BAD?
- Black text. Black text has a contrast ratio of 5.83:1 and white text 3.6:1. WCAG asks for at least 4.5:1 for normal text.