#8E1686#8E1686

#8E1686 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.191 H 331.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8E1686
RGBrgb(142, 22, 134)
HSLhsl(304, 73%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 84.5%, 5.6%, 44.3%)
CIE-LABlab(34.08, 58.74, -33.24)
CIE-LCHlch(34.08, 67.49, 330.50°)
OKLaboklab(45.73% 0.1679 -0.0917)
OKLCHoklch(45.73% 0.191 331.4)
XYZxyz(15.7453, 8.0472, 23.2736)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1686 #168E1E
analogous
#5A168E #8E1686 #8E164A
triadic
#8E1686 #868E16 #16868E
tetradic
#8E1686 #8E5A16 #168E1E #164A8E
square
#8E1686 #8E5A16 #168E1E #164A8E
split-complementary
#8E1686 #4A8E16 #168E5A
monochromatic
#240622 #590E54 #8E1686 #C31EB8 #E13DD6

Accessibility & contrast

On white

8.05
#8E1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E1686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1686
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1686#FFFFFF#000000##FFFFFF
##8E16861.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034689
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#942850
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1686;
/* rgb */ color: rgb(142, 22, 134);
/* oklch */ color: oklch(45.7% 0.191 331.4);
Tailwind
colors: {
  custom: {
    50: '#b365aa',
    500: '#8e1686',
    950: '#000000',
  },
}
SCSS
$custom: #8e1686;
$custom-light: #b365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1686",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 304,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.19135,
    "h": 331.4
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#8E1686
secondary
#3FC147
accent
#F04438
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1686

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

Preview Lab → · Contrast checker → · Palette generator →

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