#8E1486#8E1486

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

Color values

HEX#8E1486
RGBrgb(142, 20, 134)
HSLhsl(304, 75%, 32%)
HSVhsv(304, 86%, 56%)
CMYKcmyk(0%, 85.9%, 5.6%, 44.3%)
CIE-LABlab(33.93, 59.18, -33.48)
CIE-LCHlch(33.93, 68.00, 330.50°)
OKLaboklab(45.62% 0.1692 -0.0924)
OKLCHoklch(45.62% 0.193 331.4)
XYZxyz(15.7086, 7.9737, 23.2614)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1486 #148E1C
analogous
#59148E #8E1486 #8E1449
triadic
#8E1486 #868E14 #14868E
tetradic
#8E1486 #8E5914 #148E1C #14498E
square
#8E1486 #8E5914 #148E1C #14498E
split-complementary
#8E1486 #498E14 #148E59
monochromatic
#230521 #580C53 #8E1486 #C41CB9 #E339D8

Accessibility & contrast

On white

8.09
#8E1486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1486
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1486#FFFFFF#000000##FFFFFF
##8E14861.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#405583
Tritanopia (blue-blind)
#94274F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1486;
/* rgb */ color: rgb(142, 20, 134);
/* oklch */ color: oklch(45.6% 0.193 331.4);
Tailwind
colors: {
  custom: {
    50: '#b365aa',
    500: '#8e1486',
    950: '#000000',
  },
}
SCSS
$custom: #8e1486;
$custom-light: #b365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1486",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 134
  },
  "hsl": {
    "h": 303.934,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.19281,
    "h": 331.4
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#8E1486
secondary
#3CC245
accent
#F24236
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1486

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

Preview Lab → · Contrast checker → · Palette generator →

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