#8E39D1#8E39D1

#8E39D1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.222 H 305.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E39D1
RGBrgb(142, 57, 209)
HSLhsl(274, 62%, 52%)
HSVhsv(274, 73%, 82%)
CMYKcmyk(32.1%, 72.7%, 0%, 18%)
CIE-LABlab(43.18, 61.48, -63.37)
CIE-LCHlch(43.18, 88.29, 314.13°)
OKLaboklab(53.77% 0.1288 -0.1802)
OKLCHoklch(53.77% 0.222 305.6)
XYZxyz(24.1245, 13.2807, 61.6017)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39D1 #7CD139
analogous
#4239D1 #8E39D1 #D139C8
triadic
#8E39D1 #D18E39 #39D18E
tetradic
#8E39D1 #D14239 #7CD139 #39C8D1
square
#8E39D1 #D14239 #7CD139 #39C8D1
split-complementary
#8E39D1 #C8D139 #39D142
monochromatic
#4D1B75 #6E27A6 #8E39D1 #AA6BDD #C79CE8

Accessibility & contrast

On white

5.74
#8E39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8E39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39D1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39D1#FFFFFF#000000##FFFFFF
##8E39D11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#825E82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e39d1;
/* rgb */ color: rgb(142, 57, 209);
/* oklch */ color: oklch(53.8% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#b577e0',
    500: '#8e39d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e39d1;
$custom-light: #b577e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39d1",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 273.553,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.22152,
    "h": 305.6
  },
  "luminance": 0.1328
}

Semantic roles & 50–950 ramp

primary
#8E39D1
secondary
#AFD492
accent
#E5428A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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