#8E1889#8E1889

#8E1889 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.192 H 330.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E1889
RGBrgb(142, 24, 137)
HSLhsl(303, 71%, 33%)
HSVhsv(303, 83%, 56%)
CMYKcmyk(0%, 83.1%, 3.5%, 44.3%)
CIE-LABlab(34.42, 58.74, -34.56)
CIE-LCHlch(34.42, 68.15, 329.53°)
OKLaboklab(46.03% 0.1665 -0.0956)
OKLCHoklch(46.03% 0.192 330.1)
XYZxyz(15.9973, 8.2115, 24.4045)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1889 #188E1D
analogous
#58188E #8E1889 #8E184E
triadic
#8E1889 #898E18 #18898E
tetradic
#8E1889 #8E5818 #188E1D #184E8E
square
#8E1889 #8E5818 #188E1D #184E8E
split-complementary
#8E1889 #4E8E18 #188E58
monochromatic
#250624 #5A0F56 #8E1889 #C221BC #DF41D8

Accessibility & contrast

On white

7.95
#8E1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1889
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1889#FFFFFF#000000##FFFFFF
##8E18891.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#942B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1889;
/* rgb */ color: rgb(142, 24, 137);
/* oklch */ color: oklch(46.0% 0.192 330.1);
Tailwind
colors: {
  custom: {
    50: '#b366ac',
    500: '#8e1889',
    950: '#000000',
  },
}
SCSS
$custom: #8e1889;
$custom-light: #b366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1889",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 302.542,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.19197,
    "h": 330.1
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#8E1889
secondary
#42C047
accent
#EE423A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1889

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

Preview Lab → · Contrast checker → · Palette generator →

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