#8E1588#8E1588

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

Color values

HEX#8E1588
RGBrgb(142, 21, 136)
HSLhsl(303, 74%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 85.2%, 4.2%, 44.3%)
CIE-LABlab(34.12, 59.28, -34.41)
CIE-LCHlch(34.12, 68.54, 329.86°)
OKLaboklab(45.8% 0.1685 -0.0951)
OKLCHoklch(45.8% 0.194 330.5)
XYZxyz(15.8674, 8.0660, 24.0090)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1588 #158E1B
analogous
#58158E #8E1588 #8E154C
triadic
#8E1588 #888E15 #15888E
tetradic
#8E1588 #8E5815 #158E1B #154C8E
square
#8E1588 #8E5815 #158E1B #154C8E
split-complementary
#8E1588 #4C8E15 #158E58
monochromatic
#230522 #590D55 #8E1588 #C31DBB #E23BDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1588#FFFFFF#000000##FFFFFF
##8E15881.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)
#00468B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#942951
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1588;
/* rgb */ color: rgb(142, 21, 136);
/* oklch */ color: oklch(45.8% 0.194 330.5);
Tailwind
colors: {
  custom: {
    50: '#b365ab',
    500: '#8e1588',
    950: '#000000',
  },
}
SCSS
$custom: #8e1588;
$custom-light: #b365ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1588",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 136
  },
  "hsl": {
    "h": 302.975,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.19353,
    "h": 330.5
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#8E1588
secondary
#3DC244
accent
#F14037
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1588

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

Preview Lab → · Contrast checker → · Palette generator →

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