#9A8EAC color
The hex color #9A8EAC is a grayish violet.
In the RGB color model it is made of 60.4% red, 55.7% green and 67.5% blue (154, 142, 172).
Its hue angle is 264°, with 15% saturation and 62% lightness. For print, the CMYK equivalent is 10% cyan, 17% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.84:1).
#9A8EAC color codes
| HEX | #9A8EAC | |
|---|---|---|
| RGB | rgb(154, 142, 172) | |
| RGB percent | rgb(60.4%, 55.7%, 67.5%) | |
| HSL | hsl(264, 15%, 62%) | |
| HSV / HSB | hsv(264, 17%, 67%) | |
| CMYK | cmyk(10%, 17%, 0%, 33%) | |
| CIE LAB | lab(60.95, 10.41, -14.12) | |
| CIE LCH | lch(60.95, 17.54, 306.41) | |
| CIE XYZ | xyz(30.444, 29.195, 43.053) | |
| Decimal | 10129068 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A8EAC, 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 #9A8EAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.84:1 | Pass | Fail | Pass |
| Sample text | 3.07:1 | Fail | Fail | Pass |
| #9A8EAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.07:1 | Fail | Fail | Pass |
| Sample text | 6.84: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 #9A8EAC looks to people with the most common types of color vision deficiency.
#8993adProtanopia
no red cones#8b93abDeuteranopia
no green cones#979298Tritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #9a8eac; }
.text { color: #9a8eac; }
.border { border: 2px solid #9a8eac; }
.transparent { background-color: rgb(154 142 172 / 50%); }
.gradient { background: linear-gradient(to right, #9a8eac, #a98eac); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#a893c1Enchanted Lilac#b090b2Metal Petal#948593Femme Fatale#b39eb5Pastel Purple#967d96Amorous#af8ba8Voila!
Questions
- What color is #9A8EAC?
- #9A8EAC 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 #9A8EAC?
- The RGB value is 154, 142, 172: 154 red, 142 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #9A8EAC?
- The complementary color is #A0AC8E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A8EAC?
- Black text. Black text has a contrast ratio of 6.84:1 and white text 3.07:1. WCAG asks for at least 4.5:1 for normal text.