#8E137A#8E137A

#8E137A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.185 H 336.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8E137A
RGBrgb(142, 19, 122)
HSLhsl(310, 76%, 32%)
HSVhsv(310, 87%, 56%)
CMYKcmyk(0%, 86.6%, 14.1%, 44.3%)
CIE-LABlab(33.19, 57.60, -27.15)
CIE-LCHlch(33.19, 63.68, 334.77°)
OKLaboklab(44.88% 0.1697 -0.0741)
OKLCHoklch(44.88% 0.185 336.4)
XYZxyz(14.9013, 7.6231, 19.0952)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E137A #138E27
analogous
#65138E #8E137A #8E133D
triadic
#8E137A #7A8E13 #137A8E
tetradic
#8E137A #8E6513 #138E27 #133D8E
square
#8E137A #8E6513 #138E27 #133D8E
split-complementary
#8E137A #3D8E13 #138E65
monochromatic
#22051D #580C4C #8E137A #C41AA8 #E437C8

Accessibility & contrast

On white

8.32
#8E137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E137A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E137A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E137A#FFFFFF#000000##FFFFFF
##8E137A1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#961F48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e137a;
/* rgb */ color: rgb(142, 19, 122);
/* oklch */ color: oklch(44.9% 0.185 336.4);
Tailwind
colors: {
  custom: {
    50: '#b364a1',
    500: '#8e137a',
    950: '#000000',
  },
}
SCSS
$custom: #8e137a;
$custom-light: #b364a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e137a",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 309.756,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44877,
    "c": 0.18514,
    "h": 336.4
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#8E137A
secondary
#3BC251
accent
#F35435
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8E137A

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

Preview Lab → · Contrast checker → · Palette generator →

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