#8E1D87#8E1D87

#8E1D87 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.186 H 330.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1D87
RGBrgb(142, 29, 135)
HSLhsl(304, 66%, 34%)
HSVhsv(304, 80%, 56%)
CMYKcmyk(0%, 79.6%, 4.9%, 44.3%)
CIE-LABlab(34.76, 57.09, -32.78)
CIE-LCHlch(34.76, 65.83, 330.14°)
OKLaboklab(46.24% 0.1627 -0.0904)
OKLCHoklch(46.24% 0.186 330.9)
XYZxyz(15.9678, 8.3801, 23.6935)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D87 #1D8E24
analogous
#5C1D8E #8E1D87 #8E1D4E
triadic
#8E1D87 #878E1D #1D878E
tetradic
#8E1D87 #8E5C1D #1D8E24 #1D4E8E
square
#8E1D87 #8E5C1D #1D8E24 #1D4E8E
split-complementary
#8E1D87 #4E8E1D #1D8E5C
monochromatic
#280826 #5B1357 #8E1D87 #C127B7 #DA4BD1

Accessibility & contrast

On white

7.85
#8E1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D87
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D87#FFFFFF#000000##FFFFFF
##8E1D871.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#942D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1d87;
/* rgb */ color: rgb(142, 29, 135);
/* oklch */ color: oklch(46.2% 0.186 330.9);
Tailwind
colors: {
  custom: {
    50: '#b368aa',
    500: '#8e1d87',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d87;
$custom-light: #b368aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d87",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 303.717,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.18613,
    "h": 330.9
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#8E1D87
secondary
#4ABD51
accent
#E9493F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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