#8E1189#8E1189

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

Color values

HEX#8E1189
RGBrgb(142, 17, 137)
HSLhsl(302, 79%, 31%)
HSVhsv(302, 88%, 56%)
CMYKcmyk(0%, 88%, 3.5%, 44.3%)
CIE-LABlab(33.90, 60.26, -35.39)
CIE-LCHlch(33.90, 69.88, 329.58°)
OKLaboklab(45.66% 0.1709 -0.098)
OKLCHoklch(45.66% 0.197 330.2)
XYZxyz(15.8711, 7.9591, 24.3624)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1189 #118E16
analogous
#54118E #8E1189 #8E114A
triadic
#8E1189 #898E11 #11898E
tetradic
#8E1189 #8E5411 #118E16 #114A8E
square
#8E1189 #8E5411 #118E16 #114A8E
split-complementary
#8E1189 #4A8E11 #118E54
monochromatic
#210420 #570A54 #8E1189 #C518BE #E733DF

Accessibility & contrast

On white

8.10
#8E1189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1189
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1189#FFFFFF#000000##FFFFFF
##8E11891.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#942850
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1189;
/* rgb */ color: rgb(142, 17, 137);
/* oklch */ color: oklch(45.7% 0.197 330.2);
Tailwind
colors: {
  custom: {
    50: '#b364ac',
    500: '#8e1189',
    950: '#000000',
  },
}
SCSS
$custom: #8e1189;
$custom-light: #b364ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1189",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 137
  },
  "hsl": {
    "h": 302.4,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.19694,
    "h": 330.2
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#8E1189
secondary
#38C23E
accent
#F53A33
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1189

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

Preview Lab → · Contrast checker → · Palette generator →

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