#8E7ED4 color

#8E7ED4 rgb(142, 126, 212)
Shades of blue

The hex color #8E7ED4 is a light, moderate violet.

In the RGB color model it is made of 55.7% red, 49.4% green and 83.1% blue (142, 126, 212).

Its hue angle is 251°, with 50% saturation and 66% lightness. For print, the CMYK equivalent is 33% cyan, 41% magenta, 0% yellow and 17% black.

The closest named color is Medium Purple (#9370DB), a difference of 4.9 ΔE, a small difference.

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

#8E7ED4 color codes

HEX#8E7ED4
RGBrgb(142, 126, 212)
RGB percentrgb(55.7%, 49.4%, 83.1%)
HSLhsl(251, 50%, 66%)
HSV / HSBhsv(251, 41%, 83%)
CMYKcmyk(33%, 41%, 0%, 17%)
CIE LABlab(57.49, 25.54, -42.2)
CIE LCHlch(57.49, 49.33, 301.19)
CIE XYZxyz(30.497, 25.425, 65.575)
Decimal9338580
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #8e7ed4; }
.text { color: #8e7ed4; }
.border { border: 2px solid #8e7ed4; }
.transparent { background-color: rgb(142 126 212 / 50%); }
.gradient { background: linear-gradient(to right, #8e7ed4, #b97ed4); }
Background
Text color
Border

Similar colors

Questions

What color is #8E7ED4?
#8E7ED4 is a light, moderate violet, closest to the named color Medium Purple. It belongs to the blue family of colors.
What is the RGB value of #8E7ED4?
The RGB value is 142, 126, 212: 142 red, 126 green and 212 blue on a 0 to 255 scale.
What is the complementary color of #8E7ED4?
The complementary color is #C4D47E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8E7ED4?
Black text. Black text has a contrast ratio of 6.09:1 and white text 3.45:1. WCAG asks for at least 4.5:1 for normal text.