#8E1289#8E1289

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

Color values

HEX#8E1289
RGBrgb(142, 18, 137)
HSLhsl(302, 78%, 31%)
HSVhsv(302, 87%, 56%)
CMYKcmyk(0%, 87.3%, 3.5%, 44.3%)
CIE-LABlab(33.96, 60.06, -35.28)
CIE-LCHlch(33.96, 69.66, 329.57°)
OKLaboklab(45.71% 0.1703 -0.0977)
OKLCHoklch(45.71% 0.196 330.2)
XYZxyz(15.8869, 7.9909, 24.3677)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1289 #128E17
analogous
#55128E #8E1289 #8E124B
triadic
#8E1289 #898E12 #12898E
tetradic
#8E1289 #8E5512 #128E17 #124B8E
square
#8E1289 #8E5512 #128E17 #124B8E
split-complementary
#8E1289 #4B8E12 #128E55
monochromatic
#210420 #580B55 #8E1289 #C419BD #E535DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1289#FFFFFF#000000##FFFFFF
##8E12891.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)
#00468C
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#942851
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1289;
/* rgb */ color: rgb(142, 18, 137);
/* oklch */ color: oklch(45.7% 0.196 330.2);
Tailwind
colors: {
  custom: {
    50: '#b364ac',
    500: '#8e1289',
    950: '#000000',
  },
}
SCSS
$custom: #8e1289;
$custom-light: #b364ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1289",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 137
  },
  "hsl": {
    "h": 302.419,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45705,
    "c": 0.19631,
    "h": 330.2
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#8E1289
secondary
#3AC23F
accent
#F43C34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1289

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

Preview Lab → · Contrast checker → · Palette generator →

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