#8E1387#8E1387

#8E1387 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 331.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8E1387
RGBrgb(142, 19, 135)
HSLhsl(303, 76%, 32%)
HSVhsv(303, 87%, 56%)
CMYKcmyk(0%, 86.6%, 4.9%, 44.3%)
CIE-LABlab(33.91, 59.55, -34.12)
CIE-LCHlch(33.91, 68.63, 330.19°)
OKLaboklab(45.63% 0.1698 -0.0943)
OKLCHoklch(45.63% 0.194 331)
XYZxyz(15.7614, 7.9671, 23.6247)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1387 #138E1A
analogous
#58138E #8E1387 #8E134A
triadic
#8E1387 #878E13 #13878E
tetradic
#8E1387 #8E5813 #138E1A #134A8E
square
#8E1387 #8E5813 #138E1A #134A8E
split-complementary
#8E1387 #4A8E13 #138E58
monochromatic
#220520 #580C54 #8E1387 #C41ABA #E437DA

Accessibility & contrast

On white

8.10
#8E1387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1387
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1387#FFFFFF#000000##FFFFFF
##8E13871.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#942750
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1387;
/* rgb */ color: rgb(142, 19, 135);
/* oklch */ color: oklch(45.6% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#b365aa',
    500: '#8e1387',
    950: '#000000',
  },
}
SCSS
$custom: #8e1387;
$custom-light: #b365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1387",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 135
  },
  "hsl": {
    "h": 303.415,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.19421,
    "h": 331
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#8E1387
secondary
#3BC242
accent
#F34035
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1387

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

Preview Lab → · Contrast checker → · Palette generator →

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