#8D8AB2 color
The hex color #8D8AB2 is a grayish blue.
In the RGB color model it is made of 55.3% red, 54.1% green and 69.8% blue (141, 138, 178).
Its hue angle is 245°, with 21% saturation and 62% lightness. For print, the CMYK equivalent is 21% cyan, 22% magenta, 0% yellow and 30% black.
The closest named color is Magic Carpet (#9488BE), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.41:1).
#8D8AB2 color codes
| HEX | #8D8AB2 | |
|---|---|---|
| RGB | rgb(141, 138, 178) | |
| RGB percent | rgb(55.3%, 54.1%, 69.8%) | |
| HSL | hsl(245, 21%, 62%) | |
| HSV / HSB | hsv(245, 22%, 70%) | |
| CMYK | cmyk(21%, 22%, 0%, 30%) | |
| CIE LAB | lab(59.02, 9.74, -20.56) | |
| CIE LCH | lch(59.02, 22.75, 295.34) | |
| CIE XYZ | xyz(28.107, 27.054, 45.852) | |
| Decimal | 9276082 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8D8AB2, 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 #8D8AB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.41:1 | Pass | Fail | Pass |
| Sample text | 3.28:1 | Fail | Fail | Pass |
| #8D8AB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.28:1 | Fail | Fail | Pass |
| Sample text | 6.41: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 #8D8AB2 looks to people with the most common types of color vision deficiency.
#808fb4Protanopia
no red cones#808db1Deuteranopia
no green cones#859198Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #8d8ab2; }
.text { color: #8d8ab2; }
.border { border: 2px solid #8d8ab2; }
.transparent { background-color: rgb(141 138 178 / 50%); }
.gradient { background: linear-gradient(to right, #8d8ab2, #a18ab2); }
Similar colors
#9488beMagic Carpet#a090b8Wizard’s Brew#867ba9Aster#7f8cb8Galactic Gossamer#9c87c1Petrified Purple#8e97c7Easter Egg#8c92acCool Gray#a893c1Enchanted Lilac
Questions
- What color is #8D8AB2?
- #8D8AB2 is a grayish blue, closest to the named color Magic Carpet. It belongs to the blue family of colors.
- What is the RGB value of #8D8AB2?
- The RGB value is 141, 138, 178: 141 red, 138 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #8D8AB2?
- The complementary color is #AFB28A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8D8AB2?
- Black text. Black text has a contrast ratio of 6.41:1 and white text 3.28:1. WCAG asks for at least 4.5:1 for normal text.