#8E1989#8E1989

#8E1989 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.191 H 330.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1989
RGBrgb(142, 25, 137)
HSLhsl(303, 70%, 33%)
HSVhsv(303, 82%, 56%)
CMYKcmyk(0%, 82.4%, 3.5%, 44.3%)
CIE-LABlab(34.51, 58.49, -34.42)
CIE-LCHlch(34.51, 67.86, 329.52°)
OKLaboklab(46.09% 0.1658 -0.0952)
OKLCHoklch(46.09% 0.191 330.1)
XYZxyz(16.0183, 8.2535, 24.4115)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1989 #198E1E
analogous
#58198E #8E1989 #8E194E
triadic
#8E1989 #898E19 #19898E
tetradic
#8E1989 #8E5819 #198E1E #194E8E
square
#8E1989 #8E5819 #198E1E #194E8E
split-complementary
#8E1989 #4E8E19 #198E58
monochromatic
#260725 #5A1057 #8E1989 #C222BB #DE43D7

Accessibility & contrast

On white

7.92
#8E1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E1989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1989
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1989#FFFFFF#000000##FFFFFF
##8E19891.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#942C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1989;
/* rgb */ color: rgb(142, 25, 137);
/* oklch */ color: oklch(46.1% 0.191 330.1);
Tailwind
colors: {
  custom: {
    50: '#b366ac',
    500: '#8e1989',
    950: '#000000',
  },
}
SCSS
$custom: #8e1989;
$custom-light: #b366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1989",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 302.564,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.19116,
    "h": 330.1
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#8E1989
secondary
#44BF49
accent
#ED433B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1989

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

Preview Lab → · Contrast checker → · Palette generator →

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