#8E1586#8E1586

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

Color values

HEX#8E1586
RGBrgb(142, 21, 134)
HSLhsl(304, 74%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 85.2%, 5.6%, 44.3%)
CIE-LABlab(34.00, 58.97, -33.36)
CIE-LCHlch(34.00, 67.75, 330.50°)
OKLaboklab(45.68% 0.1686 -0.0921)
OKLCHoklch(45.68% 0.192 331.4)
XYZxyz(15.7266, 8.0097, 23.2674)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1586 #158E1D
analogous
#5A158E #8E1586 #8E154A
triadic
#8E1586 #868E15 #15868E
tetradic
#8E1586 #8E5A15 #158E1D #154A8E
square
#8E1586 #8E5A15 #158E1D #154A8E
split-complementary
#8E1586 #4A8E15 #158E5A
monochromatic
#230521 #590D54 #8E1586 #C31DB8 #E23BD7

Accessibility & contrast

On white

8.07
#8E1586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1586
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1586#FFFFFF#000000##FFFFFF
##8E15861.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014689
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#94284F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1586;
/* rgb */ color: rgb(142, 21, 134);
/* oklch */ color: oklch(45.7% 0.192 331.4);
Tailwind
colors: {
  custom: {
    50: '#b365aa',
    500: '#8e1586',
    950: '#000000',
  },
}
SCSS
$custom: #8e1586;
$custom-light: #b365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1586",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 134
  },
  "hsl": {
    "h": 303.967,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.19208,
    "h": 331.4
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#8E1586
secondary
#3DC246
accent
#F14337
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1586

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

Preview Lab → · Contrast checker → · Palette generator →

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