#8E87C5 color

#8E87C5 rgb(142, 135, 197)
Shades of blue

The hex color #8E87C5 is a light, desaturated blue.

In the RGB color model it is made of 55.7% red, 52.9% green and 77.3% blue (142, 135, 197).

Its hue angle is 247°, with 35% saturation and 65% lightness. For print, the CMYK equivalent is 28% cyan, 31% magenta, 0% yellow and 23% black.

The closest named color is Magic Carpet (#9488BE), a difference of 2.8 ΔE, a small difference.

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

#8E87C5 color codes

HEX#8E87C5
RGBrgb(142, 135, 197)
RGB percentrgb(55.7%, 52.9%, 77.3%)
HSLhsl(247, 35%, 65%)
HSV / HSBhsv(247, 31%, 77%)
CMYKcmyk(28%, 31%, 0%, 23%)
CIE LABlab(59.08, 16.43, -31.25)
CIE LCHlch(59.08, 35.31, 297.74)
CIE XYZxyz(29.895, 27.109, 56.47)
Decimal9340869
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8E87C5, 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 #8E87C5RatioAAAAAAA large
Sample text6.42:1PassFailPass
Sample text3.27:1FailFailPass
#8E87C5 as text onRatioAAAAAAA large
Sample text3.27:1FailFailPass
Sample text6.42: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 #8E87C5 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8e87c5; }
.text { color: #8e87c5; }
.border { border: 2px solid #8e87c5; }
.transparent { background-color: rgb(142 135 197 / 50%); }
.gradient { background: linear-gradient(to right, #8e87c5, #ad87c5); }
Background
Text color
Border

Similar colors

Questions

What color is #8E87C5?
#8E87C5 is a light, desaturated blue, closest to the named color Magic Carpet. It belongs to the blue family of colors.
What is the RGB value of #8E87C5?
The RGB value is 142, 135, 197: 142 red, 135 green and 197 blue on a 0 to 255 scale.
What is the complementary color of #8E87C5?
The complementary color is #BEC587, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8E87C5?
Black text. Black text has a contrast ratio of 6.42:1 and white text 3.27:1. WCAG asks for at least 4.5:1 for normal text.