#9A8BAF color
The hex color #9A8BAF is a grayish violet.
In the RGB color model it is made of 60.4% red, 54.5% green and 68.6% blue (154, 139, 175).
Its hue angle is 265°, with 18% saturation and 62% lightness. For print, the CMYK equivalent is 12% cyan, 21% magenta, 0% yellow and 31% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.69:1).
#9A8BAF color codes
| HEX | #9A8BAF | |
|---|---|---|
| RGB | rgb(154, 139, 175) | |
| RGB percent | rgb(60.4%, 54.5%, 68.6%) | |
| HSL | hsl(265, 18%, 62%) | |
| HSV / HSB | hsv(265, 21%, 69%) | |
| CMYK | cmyk(12%, 21%, 0%, 31%) | |
| CIE LAB | lab(60.28, 12.77, -16.85) | |
| CIE LCH | lch(60.28, 21.14, 307.17) | |
| CIE XYZ | xyz(30.295, 28.43, 44.441) | |
| Decimal | 10128303 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A8BAF, 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 #9A8BAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.69:1 | Pass | Fail | Pass |
| Sample text | 3.14:1 | Fail | Fail | Pass |
| #9A8BAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.69: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 #9A8BAF looks to people with the most common types of color vision deficiency.
#8591b1Protanopia
no red cones#8791aeDeuteranopia
no green cones#979097Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #9a8baf; }
.text { color: #9a8baf; }
.border { border: 2px solid #9a8baf; }
.transparent { background-color: rgb(154 139 175 / 50%); }
.gradient { background: linear-gradient(to right, #9a8baf, #ac8baf); }
Similar colors
#a090b8Wizard’s Brew#a893c1Enchanted Lilac#95859cHatoba Pigeon#9488beMagic Carpet#9c87c1Petrified Purple#b090b2Metal Petal#867ba9Aster#b090c7Fleur-De-Lis
Closest common color name: Lavender Purple.
Questions
- What color is #9A8BAF?
- #9A8BAF 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 #9A8BAF?
- The RGB value is 154, 139, 175: 154 red, 139 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #9A8BAF?
- The complementary color is #A0AF8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A8BAF?
- Black text. Black text has a contrast ratio of 6.69:1 and white text 3.14:1. WCAG asks for at least 4.5:1 for normal text.