#8E137C#8E137C

#8E137C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 335.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8E137C
RGBrgb(142, 19, 124)
HSLhsl(309, 76%, 32%)
HSVhsv(309, 87%, 56%)
CMYKcmyk(0%, 86.6%, 12.7%, 44.3%)
CIE-LABlab(33.29, 57.89, -28.23)
CIE-LCHlch(33.29, 64.41, 334.00°)
OKLaboklab(44.99% 0.1697 -0.0773)
OKLCHoklch(44.99% 0.187 335.5)
XYZxyz(15.0265, 7.6732, 19.7546)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E137C #138E25
analogous
#63138E #8E137C #8E133F
triadic
#8E137C #7C8E13 #137C8E
tetradic
#8E137C #8E6313 #138E25 #133F8E
square
#8E137C #8E6313 #138E25 #133F8E
split-complementary
#8E137C #3F8E13 #138E63
monochromatic
#22051E #580C4D #8E137C #C41AAB #E437CB

Accessibility & contrast

On white

8.29
#8E137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E137C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E137C#FFFFFF#000000##FFFFFF
##8E137C1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437F
Deuteranopia (green-blind)
#455479
Tritanopia (blue-blind)
#962049
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e137c;
/* rgb */ color: rgb(142, 19, 124);
/* oklch */ color: oklch(45.0% 0.186 335.5);
Tailwind
colors: {
  custom: {
    50: '#b364a2',
    500: '#8e137c',
    950: '#000000',
  },
}
SCSS
$custom: #8e137c;
$custom-light: #b364a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e137c",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 308.78,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44989,
    "c": 0.1865,
    "h": 335.5
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#8E137C
secondary
#3BC24F
accent
#F35135
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E137C

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

Preview Lab → · Contrast checker → · Palette generator →

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