#8E187D#8E187D

#8E187D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 335.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8E187D
RGBrgb(142, 24, 125)
HSLhsl(309, 71%, 33%)
HSVhsv(309, 83%, 56%)
CMYKcmyk(0%, 83.1%, 12%, 44.3%)
CIE-LABlab(33.74, 56.88, -28.15)
CIE-LCHlch(33.74, 63.47, 333.67°)
OKLaboklab(45.33% 0.1664 -0.0771)
OKLCHoklch(45.33% 0.183 335.1)
XYZxyz(15.1839, 7.8861, 20.1206)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E187D #188E29
analogous
#64188E #8E187D #8E1842
triadic
#8E187D #7D8E18 #187D8E
tetradic
#8E187D #8E6418 #188E29 #18428E
square
#8E187D #8E6418 #188E29 #18428E
split-complementary
#8E187D #428E18 #188E64
monochromatic
#250621 #5A0F4F #8E187D #C221AB #DF41C8

Accessibility & contrast

On white

8.15
#8E187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E187D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E187D#FFFFFF#000000##FFFFFF
##8E187D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174480
Deuteranopia (green-blind)
#46557A
Tritanopia (blue-blind)
#95244B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e187d;
/* rgb */ color: rgb(142, 24, 125);
/* oklch */ color: oklch(45.3% 0.183 335.1);
Tailwind
colors: {
  custom: {
    50: '#b366a3',
    500: '#8e187d',
    950: '#000000',
  },
}
SCSS
$custom: #8e187d;
$custom-light: #b366a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e187d",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 308.644,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.18333,
    "h": 335.1
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#8E187D
secondary
#42C054
accent
#EE543A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E187D

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

Preview Lab → · Contrast checker → · Palette generator →

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