#8E137E#8E137E

#8E137E is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.188 H 334.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E137E
RGBrgb(142, 19, 126)
HSLhsl(308, 76%, 32%)
HSVhsv(308, 87%, 56%)
CMYKcmyk(0%, 86.6%, 11.3%, 44.3%)
CIE-LABlab(33.40, 58.19, -29.32)
CIE-LCHlch(33.40, 65.15, 333.26°)
OKLaboklab(45.1% 0.1698 -0.0804)
OKLCHoklch(45.1% 0.188 334.7)
XYZxyz(15.1543, 7.7243, 20.4274)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E137E #138E23
analogous
#61138E #8E137E #8E1341
triadic
#8E137E #7E8E13 #137E8E
tetradic
#8E137E #8E6113 #138E23 #13418E
square
#8E137E #8E6113 #138E23 #13418E
split-complementary
#8E137E #418E13 #138E61
monochromatic
#22051E #580C4E #8E137E #C41AAE #E437CE

Accessibility & contrast

On white

8.25
#8E137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E137E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E137E#FFFFFF#000000##FFFFFF
##8E137E1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104381
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#95224A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e137e;
/* rgb */ color: rgb(142, 19, 126);
/* oklch */ color: oklch(45.1% 0.188 334.7);
Tailwind
colors: {
  custom: {
    50: '#b364a4',
    500: '#8e137e',
    950: '#000000',
  },
}
SCSS
$custom: #8e137e;
$custom-light: #b364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e137e",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 307.805,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.18788,
    "h": 334.7
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#8E137E
secondary
#3BC24C
accent
#F34E35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E137E

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

Preview Lab → · Contrast checker → · Palette generator →

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