#9F8AB5 color
The hex color #9F8AB5 is a light, grayish violet.
In the RGB color model it is made of 62.4% red, 54.1% green and 71% blue (159, 138, 181).
Its hue angle is 269°, with 23% saturation and 63% lightness. For print, the CMYK equivalent is 12% cyan, 24% magenta, 0% yellow and 29% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.78:1).
#9F8AB5 color codes
| HEX | #9F8AB5 | |
|---|---|---|
| RGB | rgb(159, 138, 181) | |
| RGB percent | rgb(62.4%, 54.1%, 71%) | |
| HSL | hsl(269, 23%, 63%) | |
| HSV / HSB | hsv(269, 24%, 71%) | |
| CMYK | cmyk(12%, 24%, 0%, 29%) | |
| CIE LAB | lab(60.68, 16.32, -19.6) | |
| CIE LCH | lch(60.68, 25.5, 309.79) | |
| CIE XYZ | xyz(31.726, 28.884, 47.611) | |
| Decimal | 10455733 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F8AB5, 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 #9F8AB5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.78:1 | Pass | Fail | Pass |
| Sample text | 3.1:1 | Fail | Fail | Pass |
| #9F8AB5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.1:1 | Fail | Fail | Pass |
| Sample text | 6.78: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 #9F8AB5 looks to people with the most common types of color vision deficiency.
#8392b7Protanopia
no red cones#8793b4Deuteranopia
no green cones#9c9099Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #9f8ab5; }
.text { color: #9f8ab5; }
.border { border: 2px solid #9f8ab5; }
.transparent { background-color: rgb(159 138 181 / 50%); }
.gradient { background: linear-gradient(to right, #9f8ab5, #b48ab5); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#9c87c1Petrified Purple#b090c7Fleur-De-Lis#9488beMagic Carpet#b090b2Metal Petal#a97fb1Heart Potion#967bb6Lavender Purple
Questions
- What color is #9F8AB5?
- #9F8AB5 is a light, grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #9F8AB5?
- The RGB value is 159, 138, 181: 159 red, 138 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #9F8AB5?
- The complementary color is #A0B58A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F8AB5?
- Black text. Black text has a contrast ratio of 6.78:1 and white text 3.1:1. WCAG asks for at least 4.5:1 for normal text.