#8A8087 color
The hex color #8A8087 is a gray.
In the RGB color model it is made of 54.1% red, 50.2% green and 52.9% blue (138, 128, 135).
Its hue angle is 318°, with 4% saturation and 52% lightness. For print, the CMYK equivalent is 0% cyan, 7% magenta, 2% yellow and 46% black.
The closest named color is Mighty Mauve (#8F7F85), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.52:1).
#8A8087 color codes
| HEX | #8A8087 | |
|---|---|---|
| RGB | rgb(138, 128, 135) | |
| RGB percent | rgb(54.1%, 50.2%, 52.9%) | |
| HSL | hsl(318, 4%, 52%) | |
| HSV / HSB | hsv(318, 7%, 54%) | |
| CMYK | cmyk(0%, 7%, 2%, 46%) | |
| CIE LAB | lab(54.65, 5.12, -2.41) | |
| CIE LCH | lch(54.65, 5.66, 334.76) | |
| CIE XYZ | xyz(22.573, 22.591, 26.088) | |
| Decimal | 9076871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A8087, 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 #8A8087 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.52:1 | Pass | Fail | Pass |
| Sample text | 3.81:1 | Fail | Fail | Pass |
| #8A8087 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.81:1 | Fail | Fail | Pass |
| Sample text | 5.52: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 #8A8087 looks to people with the most common types of color vision deficiency.
#808287Protanopia
no red cones#828387Deuteranopia
no green cones#8b8082Tritanopia
no blue cones#838383Achromatopsia
no color vision
CSS examples
.background { background-color: #8a8087; }
.text { color: #8a8087; }
.border { border: 2px solid #8a8087; }
.transparent { background-color: rgb(138 128 135 / 50%); }
.gradient { background: linear-gradient(to right, #8a8087, #8a8082); }
Similar colors
#8f7f85Mighty Mauve#81777fChain Mail#92898aZinc#84838eIn the Twilight#948593Femme Fatale#7e7d88Silver Surfer#918c8fGull#828287Lunar Outpost
Closest common color name: Gray.
Questions
- What color is #8A8087?
- #8A8087 is a gray, closest to the named color Mighty Mauve. It belongs to the gray family of colors.
- What is the RGB value of #8A8087?
- The RGB value is 138, 128, 135: 138 red, 128 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #8A8087?
- The complementary color is #808A83, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A8087?
- Black text. Black text has a contrast ratio of 5.52:1 and white text 3.81:1. WCAG asks for at least 4.5:1 for normal text.