#8E71ED#8E71ED

#8E71ED is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.5% C 0.179 H 291.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E71ED
RGBrgb(142, 113, 237)
HSLhsl(254, 78%, 69%)
HSVhsv(254, 52%, 93%)
CMYKcmyk(40.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(55.76, 39.76, -58.95)
CIE-LCHlch(55.76, 71.11, 304.00°)
OKLaboklab(63.5% 0.0649 -0.1673)
OKLCHoklch(63.5% 0.179 291.2)
XYZxyz(32.3424, 23.6745, 82.9699)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71ED #D0ED71
analogous
#7192ED #8E71ED #CC71ED
triadic
#8E71ED #ED8E71 #71ED8E
tetradic
#8E71ED #ED7192 #D0ED71 #71EDCC
square
#8E71ED #ED7192 #D0ED71 #71EDCC
split-complementary
#8E71ED #EDCC71 #92ED71
monochromatic
#431ACA #633BE6 #8E71ED #B9A7F4 #E4DEFB

Accessibility & contrast

On white

3.66
#8E71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8E71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71ED
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71ED#FFFFFF#000000##000000
##8E71ED1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F1
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#748BA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e71ed;
/* rgb */ color: rgb(142, 113, 237);
/* oklch */ color: oklch(63.5% 0.179 291.2);
Tailwind
colors: {
  custom: {
    50: '#b49af3',
    500: '#8e71ed',
    950: '#000000',
  },
}
SCSS
$custom: #8e71ed;
$custom-light: #b49af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71ed",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 254.032,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.17947,
    "h": 291.2
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#8E71ED
secondary
#E7EFCA
accent
#DA0CAA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8E71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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