#8E1C86#8E1C86

#8E1C86 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.186 H 331.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8E1C86
RGBrgb(142, 28, 134)
HSLhsl(304, 67%, 33%)
HSVhsv(304, 80%, 56%)
CMYKcmyk(0%, 80.3%, 5.6%, 44.3%)
CIE-LABlab(34.61, 57.21, -32.40)
CIE-LCHlch(34.61, 65.75, 330.48°)
OKLaboklab(46.11% 0.1635 -0.0893)
OKLCHoklch(46.11% 0.186 331.3)
XYZxyz(15.8737, 8.3038, 23.3164)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C86 #1C8E24
analogous
#5D1C8E #8E1C86 #8E1C4D
triadic
#8E1C86 #868E1C #1C868E
tetradic
#8E1C86 #8E5D1C #1C8E24 #1C4D8E
square
#8E1C86 #8E5D1C #1C8E24 #1C4D8E
split-complementary
#8E1C86 #4D8E1C #1C8E5D
monochromatic
#280826 #5B1256 #8E1C86 #C126B6 #DB49D1

Accessibility & contrast

On white

7.89
#8E1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C86
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C86#FFFFFF#000000##FFFFFF
##8E1C861.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4789
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#942C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1c86;
/* rgb */ color: rgb(142, 28, 134);
/* oklch */ color: oklch(46.1% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8e1c86',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c86;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c86",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 304.211,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.18631,
    "h": 331.3
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#8E1C86
secondary
#49BD51
accent
#EA4A3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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