#8E137B#8E137B

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

Color values

HEX#8E137B
RGBrgb(142, 19, 123)
HSLhsl(309, 76%, 32%)
HSVhsv(309, 87%, 56%)
CMYKcmyk(0%, 86.6%, 13.4%, 44.3%)
CIE-LABlab(33.24, 57.75, -27.69)
CIE-LCHlch(33.24, 64.04, 334.38°)
OKLaboklab(44.93% 0.1697 -0.0757)
OKLCHoklch(44.93% 0.186 336)
XYZxyz(14.9636, 7.6480, 19.4232)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E137B #138E26
analogous
#64138E #8E137B #8E133E
triadic
#8E137B #7B8E13 #137B8E
tetradic
#8E137B #8E6413 #138E26 #133E8E
square
#8E137B #8E6413 #138E26 #133E8E
split-complementary
#8E137B #3E8E13 #138E64
monochromatic
#22051D #580C4C #8E137B #C41AAA #E437CA

Accessibility & contrast

On white

8.30
#8E137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E137B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E137B#FFFFFF#000000##FFFFFF
##8E137B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437E
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#962049
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e137b;
/* rgb */ color: rgb(142, 19, 123);
/* oklch */ color: oklch(44.9% 0.186 336.0);
Tailwind
colors: {
  custom: {
    50: '#b364a1',
    500: '#8e137b',
    950: '#000000',
  },
}
SCSS
$custom: #8e137b;
$custom-light: #b364a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e137b",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 309.268,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.18582,
    "h": 336
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#8E137B
secondary
#3BC250
accent
#F35235
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8E137B

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

Preview Lab → · Contrast checker → · Palette generator →

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