#8E71EA#8E71EA

#8E71EA is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.176 H 291.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8E71EA
RGBrgb(142, 113, 234)
HSLhsl(254, 74%, 68%)
HSVhsv(254, 52%, 92%)
CMYKcmyk(39.3%, 51.7%, 0%, 8.2%)
CIE-LABlab(55.58, 38.95, -57.56)
CIE-LCHlch(55.58, 69.50, 304.08°)
OKLaboklab(63.31% 0.0647 -0.1632)
OKLCHoklch(63.31% 0.176 291.6)
XYZxyz(31.9077, 23.5007, 80.6809)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71EA #CDEA71
analogous
#7190EA #8E71EA #CA71EA
triadic
#8E71EA #EA8E71 #71EA8E
tetradic
#8E71EA #EA7190 #CDEA71 #71EACA
square
#8E71EA #EA7190 #CDEA71 #71EACA
split-complementary
#8E71EA #EACA71 #90EA71
monochromatic
#451DC4 #643CE2 #8E71EA #B8A6F2 #E3DCFA

Accessibility & contrast

On white

3.68
#8E71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8E71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71EA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71EA#FFFFFF#000000##000000
##8E71EA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#768AA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e71ea;
/* rgb */ color: rgb(142, 113, 234);
/* oklch */ color: oklch(63.3% 0.176 291.6);
Tailwind
colors: {
  custom: {
    50: '#b49af1',
    500: '#8e71ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e71ea;
$custom-light: #b49af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71ea",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 254.38,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63309,
    "c": 0.1756,
    "h": 291.6
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#8E71EA
secondary
#E5EEC9
accent
#D60FA7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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