#8E1986#8E1986

#8E1986 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.189 H 331.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8E1986
RGBrgb(142, 25, 134)
HSLhsl(304, 70%, 33%)
HSVhsv(304, 82%, 56%)
CMYKcmyk(0%, 82.4%, 5.6%, 44.3%)
CIE-LABlab(34.33, 58.01, -32.84)
CIE-LCHlch(34.33, 66.66, 330.49°)
OKLaboklab(45.91% 0.1658 -0.0906)
OKLCHoklch(45.91% 0.189 331.3)
XYZxyz(15.8060, 8.1686, 23.2939)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1986 #198E21
analogous
#5C198E #8E1986 #8E194B
triadic
#8E1986 #868E19 #19868E
tetradic
#8E1986 #8E5C19 #198E21 #194B8E
square
#8E1986 #8E5C19 #198E21 #194B8E
split-complementary
#8E1986 #4B8E19 #198E5C
monochromatic
#260724 #5A1055 #8E1986 #C222B7 #DE43D3

Accessibility & contrast

On white

7.97
#8E1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1986
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1986#FFFFFF#000000##FFFFFF
##8E19861.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#942A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1986;
/* rgb */ color: rgb(142, 25, 134);
/* oklch */ color: oklch(45.9% 0.189 331.3);
Tailwind
colors: {
  custom: {
    50: '#b366a9',
    500: '#8e1986',
    950: '#000000',
  },
}
SCSS
$custom: #8e1986;
$custom-light: #b366a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1986",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 304.103,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45909,
    "c": 0.18895,
    "h": 331.3
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#8E1986
secondary
#44BF4C
accent
#ED473B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1986

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

Preview Lab → · Contrast checker → · Palette generator →

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