#8E1589#8E1589

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

Color values

HEX#8E1589
RGBrgb(142, 21, 137)
HSLhsl(302, 74%, 32%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 85.2%, 3.5%, 44.3%)
CIE-LABlab(34.18, 59.44, -34.94)
CIE-LCHlch(34.18, 68.94, 329.55°)
OKLaboklab(45.86% 0.1685 -0.0967)
OKLCHoklch(45.86% 0.194 330.2)
XYZxyz(15.9388, 8.0946, 24.3850)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1589 #158E1A
analogous
#56158E #8E1589 #8E154D
triadic
#8E1589 #898E15 #15898E
tetradic
#8E1589 #8E5615 #158E1A #154D8E
square
#8E1589 #8E5615 #158E1A #154D8E
split-complementary
#8E1589 #4D8E15 #158E56
monochromatic
#230522 #590D56 #8E1589 #C31DBC #E23BDB

Accessibility & contrast

On white

8.02
#8E1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1589
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1589#FFFFFF#000000##FFFFFF
##8E15891.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1589;
/* rgb */ color: rgb(142, 21, 137);
/* oklch */ color: oklch(45.9% 0.194 330.2);
Tailwind
colors: {
  custom: {
    50: '#b365ac',
    500: '#8e1589',
    950: '#000000',
  },
}
SCSS
$custom: #8e1589;
$custom-light: #b365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1589",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 302.479,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.19426,
    "h": 330.2
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#8E1589
secondary
#3DC243
accent
#F13F37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1589

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

Preview Lab → · Contrast checker → · Palette generator →

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