#8E1389#8E1389

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

Color values

HEX#8E1389
RGBrgb(142, 19, 137)
HSLhsl(302, 76%, 32%)
HSVhsv(302, 87%, 56%)
CMYKcmyk(0%, 86.6%, 3.5%, 44.3%)
CIE-LABlab(34.03, 59.86, -35.17)
CIE-LCHlch(34.03, 69.43, 329.56°)
OKLaboklab(45.75% 0.1697 -0.0973)
OKLCHoklch(45.75% 0.196 330.2)
XYZxyz(15.9035, 8.0240, 24.3732)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1389 #138E18
analogous
#56138E #8E1389 #8E134C
triadic
#8E1389 #898E13 #13898E
tetradic
#8E1389 #8E5613 #138E18 #134C8E
square
#8E1389 #8E5613 #138E18 #134C8E
split-complementary
#8E1389 #4C8E13 #138E56
monochromatic
#220521 #580C55 #8E1389 #C41ABD #E437DD

Accessibility & contrast

On white

8.06
#8E1389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1389
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1389#FFFFFF#000000##FFFFFF
##8E13891.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.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: #8e1389;
/* rgb */ color: rgb(142, 19, 137);
/* oklch */ color: oklch(45.8% 0.196 330.2);
Tailwind
colors: {
  custom: {
    50: '#b365ac',
    500: '#8e1389',
    950: '#000000',
  },
}
SCSS
$custom: #8e1389;
$custom-light: #b365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1389",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 137
  },
  "hsl": {
    "h": 302.439,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.19565,
    "h": 330.2
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#8E1389
secondary
#3BC240
accent
#F33D35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1389

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

Preview Lab → · Contrast checker → · Palette generator →

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