#8E7CA8 color

#8E7CA8 rgb(142, 124, 168)
Shades of purple

The hex color #8E7CA8 is a grayish violet.

In the RGB color model it is made of 55.7% red, 48.6% green and 65.9% blue (142, 124, 168).

Its hue angle is 265°, with 20% saturation and 57% lightness. For print, the CMYK equivalent is 15% cyan, 26% magenta, 0% yellow and 34% black.

The closest named color is Aster (#867BA9), a difference of 2.5 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.6:1).

#8E7CA8 color codes

HEX#8E7CA8
RGBrgb(142, 124, 168)
RGB percentrgb(55.7%, 48.6%, 65.9%)
HSLhsl(265, 20%, 57%)
HSV / HSBhsv(265, 26%, 66%)
CMYKcmyk(15%, 26%, 0%, 34%)
CIE LABlab(55.07, 15.87, -20.88)
CIE LCHlch(55.07, 26.22, 307.24)
CIE XYZxyz(25.429, 22.993, 40.137)
Decimal9338024
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8E7CA8, 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 #8E7CA8RatioAAAAAAA large
Sample text5.6:1PassFailPass
Sample text3.75:1FailFailPass
#8E7CA8 as text onRatioAAAAAAA large
Sample text3.75:1FailFailPass
Sample text5.6:1PassFailPass

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 #8E7CA8 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8e7ca8; }
.text { color: #8e7ca8; }
.border { border: 2px solid #8e7ca8; }
.transparent { background-color: rgb(142 124 168 / 50%); }
.gradient { background: linear-gradient(to right, #8e7ca8, #a47ca8); }
Background
Text color
Border

Similar colors

Questions

What color is #8E7CA8?
#8E7CA8 is a grayish violet, closest to the named color Aster. It belongs to the purple family of colors.
What is the RGB value of #8E7CA8?
The RGB value is 142, 124, 168: 142 red, 124 green and 168 blue on a 0 to 255 scale.
What is the complementary color of #8E7CA8?
The complementary color is #96A87C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8E7CA8?
Black text. Black text has a contrast ratio of 5.6:1 and white text 3.75:1. WCAG asks for at least 4.5:1 for normal text.