#8E31DC color

#8E31DC rgb(142, 49, 220)
Shades of purple

The hex color #8E31DC is a moderate violet.

In the RGB color model it is made of 55.7% red, 19.2% green and 86.3% blue (142, 49, 220).

Its hue angle is 273°, with 71% saturation and 53% lightness. For print, the CMYK equivalent is 35% cyan, 78% magenta, 0% yellow and 14% black.

The closest named color is Blue Violet (#8A2BE2), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 5.8:1).

#8E31DC color codes

HEX#8E31DC
RGBrgb(142, 49, 220)
RGB percentrgb(55.7%, 19.2%, 86.3%)
HSLhsl(273, 71%, 53%)
HSV / HSBhsv(273, 78%, 86%)
CMYKcmyk(35%, 78%, 0%, 14%)
CIE LABlab(42.94, 67.05, -70.09)
CIE LCHlch(42.94, 97, 313.73)
CIE XYZxyz(25.169, 13.115, 68.902)
Decimal9318876
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8E31DC, 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 #8E31DCRatioAAAAAAA large
Sample text3.62:1FailFailPass
Sample text5.8:1PassFailPass
#8E31DC as text onRatioAAAAAAA large
Sample text5.8:1PassFailPass
Sample text3.62:1FailFailPass

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

CSS examples

.background { background-color: #8e31dc; }
.text { color: #8e31dc; }
.border { border: 2px solid #8e31dc; }
.transparent { background-color: rgb(142 49 220 / 50%); }
.gradient { background: linear-gradient(to right, #8e31dc, #dc31d4); }
Background
Text color
Border

Similar colors

Questions

What color is #8E31DC?
#8E31DC is a moderate violet, closest to the named color Blue Violet. It belongs to the purple family of colors.
What is the RGB value of #8E31DC?
The RGB value is 142, 49, 220: 142 red, 49 green and 220 blue on a 0 to 255 scale.
What is the complementary color of #8E31DC?
The complementary color is #7FDC31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8E31DC?
White text. Black text has a contrast ratio of 3.62:1 and white text 5.8:1. WCAG asks for at least 4.5:1 for normal text.