#8E1487#8E1487

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

Color values

HEX#8E1487
RGBrgb(142, 20, 135)
HSLhsl(303, 75%, 32%)
HSVhsv(303, 86%, 56%)
CMYKcmyk(0%, 85.9%, 4.9%, 44.3%)
CIE-LABlab(33.99, 59.34, -34.01)
CIE-LCHlch(33.99, 68.39, 330.18°)
OKLaboklab(45.68% 0.1692 -0.094)
OKLCHoklch(45.68% 0.194 331)
XYZxyz(15.7787, 8.0017, 23.6304)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1487 #148E1B
analogous
#58148E #8E1487 #8E144A
triadic
#8E1487 #878E14 #14878E
tetradic
#8E1487 #8E5814 #148E1B #144A8E
square
#8E1487 #8E5814 #148E1B #144A8E
split-complementary
#8E1487 #4A8E14 #148E58
monochromatic
#230521 #580C54 #8E1487 #C41CBA #E339D9

Accessibility & contrast

On white

8.08
#8E1487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1487
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1487#FFFFFF#000000##FFFFFF
##8E14871.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#3F5684
Tritanopia (blue-blind)
#942850
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1487;
/* rgb */ color: rgb(142, 20, 135);
/* oklch */ color: oklch(45.7% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#b365aa',
    500: '#8e1487',
    950: '#000000',
  },
}
SCSS
$custom: #8e1487;
$custom-light: #b365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1487",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 303.443,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.19352,
    "h": 331
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#8E1487
secondary
#3CC244
accent
#F24136
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1487

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

Preview Lab → · Contrast checker → · Palette generator →

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