#8E3CD1#8E3CD1

#8E3CD1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.218 H 305.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8E3CD1
RGBrgb(142, 60, 209)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(32.1%, 71.3%, 0%, 18%)
CIE-LABlab(43.63, 60.20, -62.64)
CIE-LCHlch(43.63, 86.88, 313.86°)
OKLaboklab(54.09% 0.126 -0.1781)
OKLCHoklch(54.09% 0.218 305.3)
XYZxyz(24.2772, 13.5861, 61.6527)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CD1 #7FD13C
analogous
#433CD1 #8E3CD1 #D13CCA
triadic
#8E3CD1 #D18E3C #3CD18E
tetradic
#8E3CD1 #D1433C #7FD13C #3CCAD1
square
#8E3CD1 #D1433C #7FD13C #3CCAD1
split-complementary
#8E3CD1 #CAD13C #3CD143
monochromatic
#4E1C77 #6E28A8 #8E3CD1 #AB6EDD #C79FE8

Accessibility & contrast

On white

5.65
#8E3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CD1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CD1#FFFFFF#000000##FFFFFF
##8E3CD11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#825F83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3cd1;
/* rgb */ color: rgb(142, 60, 209);
/* oklch */ color: oklch(54.1% 0.218 305.3);
Tailwind
colors: {
  custom: {
    50: '#b479e0',
    500: '#8e3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cd1;
$custom-light: #b479e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cd1",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 273.02,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.21813,
    "h": 305.3
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#8E3CD1
secondary
#B1D594
accent
#E5438C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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