#8E39B8#8E39B8

#8E39B8 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.197 H 312.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8E39B8
RGBrgb(142, 57, 184)
HSLhsl(280, 53%, 47%)
HSVhsv(280, 69%, 72%)
CMYKcmyk(22.8%, 69%, 0%, 27.8%)
CIE-LABlab(41.44, 55.99, -51.65)
CIE-LCHlch(41.44, 76.18, 317.31°)
OKLaboklab(51.97% 0.1324 -0.1458)
OKLCHoklch(51.97% 0.197 312.2)
XYZxyz(21.2686, 12.1383, 46.5606)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E39B8 #63B839
analogous
#4E39B8 #8E39B8 #B839A3
triadic
#8E39B8 #B88E39 #39B88E
tetradic
#8E39B8 #B84E39 #63B839 #39A3B8
square
#8E39B8 #B84E39 #63B839 #39A3B8
split-complementary
#8E39B8 #A3B839 #39B84E
monochromatic
#461C5B #6A2B89 #8E39B8 #AA60CE #C38FDC

Accessibility & contrast

On white

6.13
#8E39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8E39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E39B8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E39B8#FFFFFF#000000##FFFFFF
##8E39B81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2C63B5
Tritanopia (blue-blind)
#895474
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e39b8;
/* rgb */ color: rgb(142, 57, 184);
/* oklch */ color: oklch(52.0% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#b376ce',
    500: '#8e39b8',
    950: '#000000',
  },
}
SCSS
$custom: #8e39b8;
$custom-light: #b376ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8e39b8",
  "rgb": {
    "r": 142,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 280.157,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.1969,
    "h": 312.2
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#8E39B8
secondary
#9BC786
accent
#DC4C7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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