#8E2387#8E2387

#8E2387 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.180 H 330.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8E2387
RGBrgb(142, 35, 135)
HSLhsl(304, 60%, 35%)
HSVhsv(304, 75%, 56%)
CMYKcmyk(0%, 75.4%, 4.9%, 44.3%)
CIE-LABlab(35.41, 55.24, -31.76)
CIE-LCHlch(35.41, 63.72, 330.11°)
OKLaboklab(46.7% 0.1573 -0.0875)
OKLCHoklch(46.7% 0.18 330.9)
XYZxyz(16.1295, 8.7034, 23.7474)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2387 #238E2A
analogous
#5F238E #8E2387 #8E2352
triadic
#8E2387 #878E23 #23878E
tetradic
#8E2387 #8E5F23 #238E2A #23528E
square
#8E2387 #8E5F23 #238E2A #23528E
split-complementary
#8E2387 #528E23 #238E5F
monochromatic
#2C0B2A #5D1758 #8E2387 #BF2FB6 #D556CD

Accessibility & contrast

On white

7.66
#8E2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2387
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2387#FFFFFF#000000##FFFFFF
##8E23871.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#943153
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2387;
/* rgb */ color: rgb(142, 35, 135);
/* oklch */ color: oklch(46.7% 0.180 330.9);
Tailwind
colors: {
  custom: {
    50: '#b36aaa',
    500: '#8e2387',
    950: '#000000',
  },
}
SCSS
$custom: #8e2387;
$custom-light: #b36aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2387",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 303.925,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.18005,
    "h": 330.9
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#8E2387
secondary
#53B95A
accent
#E44F44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2387

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

Preview Lab → · Contrast checker → · Palette generator →

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