#8E7A9E color
The hex color #8E7A9E is a grayish violet.
In the RGB color model it is made of 55.7% red, 47.8% green and 62% blue (142, 122, 158).
Its hue angle is 273°, with 16% saturation and 55% lightness. For print, the CMYK equivalent is 10% cyan, 23% magenta, 0% yellow and 38% black.
The closest named color is Vintage (#847592), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.43:1).
#8E7A9E color codes
| HEX | #8E7A9E | |
|---|---|---|
| RGB | rgb(142, 122, 158) | |
| RGB percent | rgb(55.7%, 47.8%, 62%) | |
| HSL | hsl(273, 16%, 55%) | |
| HSV / HSB | hsv(273, 23%, 62%) | |
| CMYK | cmyk(10%, 23%, 0%, 38%) | |
| CIE LAB | lab(54.17, 14.8, -16.45) | |
| CIE LCH | lch(54.17, 22.13, 311.98) | |
| CIE XYZ | xyz(24.285, 22.139, 35.335) | |
| Decimal | 9337502 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8E7A9E, 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 #8E7A9E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.43:1 | Pass | Fail | Pass |
| Sample text | 3.87:1 | Fail | Fail | Pass |
| #8E7A9E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.87:1 | Fail | Fail | Pass |
| Sample text | 5.43: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 #8E7A9E looks to people with the most common types of color vision deficiency.
#7481a0Protanopia
no red cones#78829dDeuteranopia
no green cones#8c7e86Tritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #8e7a9e; }
.text { color: #8e7a9e; }
.border { border: 2px solid #8e7a9e; }
.transparent { background-color: rgb(142 122 158 / 50%); }
.gradient { background: linear-gradient(to right, #8e7a9e, #9e7a9c); }
Similar colors
#847592Vintage#807396Purple Haze#967d96Amorous#867ba9Aster#95859cHatoba Pigeon#91788cMuted Berry#7b6c8eNymph’s Delight#967bb6Lavender Purple
Questions
- What color is #8E7A9E?
- #8E7A9E is a grayish violet, closest to the named color Vintage. It belongs to the purple family of colors.
- What is the RGB value of #8E7A9E?
- The RGB value is 142, 122, 158: 142 red, 122 green and 158 blue on a 0 to 255 scale.
- What is the complementary color of #8E7A9E?
- The complementary color is #8A9E7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8E7A9E?
- Black text. Black text has a contrast ratio of 5.43:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.