#8E39C9#8E39C9

#8E39C9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.214 H 307.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8E39C9
RGBrgb(142, 57, 201)
HSLhsl(275, 57%, 51%)
HSVhsv(275, 72%, 79%)
CMYKcmyk(29.4%, 71.6%, 0%, 21.2%)
CIE-LABlab(42.60, 59.69, -59.69)
CIE-LCHlch(42.60, 84.42, 315.00°)
OKLaboklab(53.18% 0.1302 -0.1694)
OKLCHoklch(53.18% 0.214 307.5)
XYZxyz(23.1588, 12.8944, 56.5159)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39C9 #74C939
analogous
#4639C9 #8E39C9 #C939BC
triadic
#8E39C9 #C98E39 #39C98E
tetradic
#8E39C9 #C94639 #74C939 #39BCC9
square
#8E39C9 #C94639 #74C939 #39BCC9
split-complementary
#8E39C9 #BCC939 #39C946
monochromatic
#4B1D6B #6D2A9B #8E39C9 #A969D6 #C599E3

Accessibility & contrast

On white

5.87
#8E39C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8E39C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39C9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39C9#FFFFFF#000000##FFFFFF
##8E39C91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0565C6
Tritanopia (blue-blind)
#845A7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e39c9;
/* rgb */ color: rgb(142, 57, 201);
/* oklch */ color: oklch(53.2% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#b477da',
    500: '#8e39c9',
    950: '#000000',
  },
}
SCSS
$custom: #8e39c9;
$custom-light: #b477da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39c9",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 275.417,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.21363,
    "h": 307.5
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#8E39C9
secondary
#A9CF8F
accent
#E04786
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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