#8E8AAD color
The hex color #8E8AAD is a grayish blue.
In the RGB color model it is made of 55.7% red, 54.1% green and 67.8% blue (142, 138, 173).
Its hue angle is 247°, with 18% saturation and 61% lightness. For print, the CMYK equivalent is 18% cyan, 20% magenta, 0% yellow and 32% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 5 ΔE.
Black text is the more readable choice on this background (contrast 6.39:1).
#8E8AAD color codes
| HEX | #8E8AAD | |
|---|---|---|
| RGB | rgb(142, 138, 173) | |
| RGB percent | rgb(55.7%, 54.1%, 67.8%) | |
| HSL | hsl(247, 18%, 61%) | |
| HSV / HSB | hsv(247, 20%, 68%) | |
| CMYK | cmyk(18%, 20%, 0%, 32%) | |
| CIE LAB | lab(58.92, 8.89, -17.86) | |
| CIE LCH | lch(58.92, 19.95, 296.48) | |
| CIE XYZ | xyz(27.785, 26.945, 43.264) | |
| Decimal | 9341613 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8E8AAD, 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 #8E8AAD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.39:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #8E8AAD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.39: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 #8E8AAD looks to people with the most common types of color vision deficiency.
#828eafProtanopia
no red cones#828dacDeuteranopia
no green cones#889096Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #8e8aad; }
.text { color: #8e8aad; }
.border { border: 2px solid #8e8aad; }
.transparent { background-color: rgb(142 138 173 / 50%); }
.gradient { background: linear-gradient(to right, #8e8aad, #a08aad); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#8c92acCool Gray#867ba9Aster#95859cHatoba Pigeon#7f8cb8Galactic Gossamer#888899Dusty Chimney#8e97c7Easter Egg
Questions
- What color is #8E8AAD?
- #8E8AAD is a grayish blue, closest to the named color Wizard’s Brew. It belongs to the blue family of colors.
- What is the RGB value of #8E8AAD?
- The RGB value is 142, 138, 173: 142 red, 138 green and 173 blue on a 0 to 255 scale.
- What is the complementary color of #8E8AAD?
- The complementary color is #A9AD8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8E8AAD?
- Black text. Black text has a contrast ratio of 6.39:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.