#8E1489#8E1489

#8E1489 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 330.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1489
RGBrgb(142, 20, 137)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 86%, 56%)
CMYKcmyk(0%, 85.9%, 3.5%, 44.3%)
CIE-LABlab(34.10, 59.65, -35.06)
CIE-LCHlch(34.10, 69.19, 329.56°)
OKLaboklab(45.8% 0.1691 -0.097)
OKLCHoklch(45.8% 0.195 330.2)
XYZxyz(15.9208, 8.0586, 24.3790)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1489 #148E19
analogous
#56148E #8E1489 #8E144C
triadic
#8E1489 #898E14 #14898E
tetradic
#8E1489 #8E5614 #148E19 #144C8E
square
#8E1489 #8E5614 #148E19 #144C8E
split-complementary
#8E1489 #4C8E14 #148E56
monochromatic
#230521 #580C55 #8E1489 #C41CBD #E339DC

Accessibility & contrast

On white

8.04
#8E1489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1489
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1489#FFFFFF#000000##FFFFFF
##8E14891.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3E5686
Tritanopia (blue-blind)
#942951
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1489;
/* rgb */ color: rgb(142, 20, 137);
/* oklch */ color: oklch(45.8% 0.195 330.2);
Tailwind
colors: {
  custom: {
    50: '#b365ac',
    500: '#8e1489',
    950: '#000000',
  },
}
SCSS
$custom: #8e1489;
$custom-light: #b365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1489",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 302.459,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.19497,
    "h": 330.2
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#8E1489
secondary
#3CC241
accent
#F23E36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1489

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

Preview Lab → · Contrast checker → · Palette generator →

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