#8E4ED4#8E4ED4

#8E4ED4 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.199 H 302.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8E4ED4
RGBrgb(142, 78, 212)
HSLhsl(269, 61%, 57%)
HSVhsv(269, 63%, 83%)
CMYKcmyk(33%, 63.2%, 0%, 16.9%)
CIE-LABlab(46.91, 52.40, -59.06)
CIE-LCHlch(46.91, 78.96, 311.58°)
OKLaboklab(56.5% 0.1065 -0.1676)
OKLCHoklch(56.5% 0.199 302.4)
XYZxyz(25.7606, 15.9530, 63.9967)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4ED4 #94D44E
analogous
#4E51D4 #8E4ED4 #D14ED4
triadic
#8E4ED4 #D48E4E #4ED48E
tetradic
#8E4ED4 #D44E51 #94D44E #4ED4D1
square
#8E4ED4 #D44E51 #94D44E #4ED4D1
split-complementary
#8E4ED4 #D4D14E #51D44E
monochromatic
#522187 #6F2DB8 #8E4ED4 #AD7FE0 #CDB0EC

Accessibility & contrast

On white

5.01
#8E4ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8E4ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4ED4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4ED4#FFFFFF#000000##FFFFFF
##8E4ED41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#216FD1
Tritanopia (blue-blind)
#806B8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4ed4;
/* rgb */ color: rgb(142, 78, 212);
/* oklch */ color: oklch(56.5% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#b483e2',
    500: '#8e4ed4',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ed4;
$custom-light: #b483e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ed4",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 268.657,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.19859,
    "h": 302.4
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#8E4ED4
secondary
#C0DAA4
accent
#E44497
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4ED4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E4ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva