#9A8FAB color
The hex color #9A8FAB is a grayish violet.
In the RGB color model it is made of 60.4% red, 56.1% green and 67.1% blue (154, 143, 171).
Its hue angle is 264°, with 14% saturation and 62% lightness. For print, the CMYK equivalent is 10% cyan, 16% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.89:1).
#9A8FAB color codes
| HEX | #9A8FAB | |
|---|---|---|
| RGB | rgb(154, 143, 171) | |
| RGB percent | rgb(60.4%, 56.1%, 67.1%) | |
| HSL | hsl(264, 14%, 62%) | |
| HSV / HSB | hsv(264, 16%, 67%) | |
| CMYK | cmyk(10%, 16%, 0%, 33%) | |
| CIE LAB | lab(61.18, 9.63, -13.21) | |
| CIE LCH | lch(61.18, 16.34, 306.1) | |
| CIE XYZ | xyz(30.498, 29.455, 42.599) | |
| Decimal | 10129323 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A8FAB, 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 #9A8FAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.89:1 | Pass | Fail | Pass |
| Sample text | 3.05:1 | Fail | Fail | Pass |
| #9A8FAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.05:1 | Fail | Fail | Pass |
| Sample text | 6.89: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 #9A8FAB looks to people with the most common types of color vision deficiency.
#8a93acProtanopia
no red cones#8c94aaDeuteranopia
no green cones#989398Tritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #9a8fab; }
.text { color: #9a8fab; }
.border { border: 2px solid #9a8fab; }
.transparent { background-color: rgb(154 143 171 / 50%); }
.gradient { background: linear-gradient(to right, #9a8fab, #a88fab); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#a893c1Enchanted Lilac#948593Femme Fatale#b39eb5Pastel Purple#b090b2Metal Petal#9999aaMachinery#9998a7Lavender Ash
Questions
- What color is #9A8FAB?
- #9A8FAB is a grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #9A8FAB?
- The RGB value is 154, 143, 171: 154 red, 143 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #9A8FAB?
- The complementary color is #A0AB8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A8FAB?
- Black text. Black text has a contrast ratio of 6.89:1 and white text 3.05:1. WCAG asks for at least 4.5:1 for normal text.