#8E137F#8E137F

#8E137F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.189 H 334.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8E137F
RGBrgb(142, 19, 127)
HSLhsl(307, 76%, 32%)
HSVhsv(307, 87%, 56%)
CMYKcmyk(0%, 86.6%, 10.6%, 44.3%)
CIE-LABlab(33.46, 58.33, -29.86)
CIE-LCHlch(33.46, 65.53, 332.90°)
OKLaboklab(45.16% 0.1698 -0.0819)
OKLCHoklch(45.16% 0.189 334.2)
XYZxyz(15.2192, 7.7502, 20.7690)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E137F #138E22
analogous
#60138E #8E137F #8E1342
triadic
#8E137F #7F8E13 #137F8E
tetradic
#8E137F #8E6013 #138E22 #13428E
square
#8E137F #8E6013 #138E22 #13428E
split-complementary
#8E137F #428E13 #138E60
monochromatic
#22051E #580C4F #8E137F #C41AAF #E437CF

Accessibility & contrast

On white

8.24
#8E137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E137F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E137F#FFFFFF#000000##FFFFFF
##8E137F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4482
Deuteranopia (green-blind)
#43557C
Tritanopia (blue-blind)
#95224B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e137f;
/* rgb */ color: rgb(142, 19, 127);
/* oklch */ color: oklch(45.2% 0.189 334.2);
Tailwind
colors: {
  custom: {
    50: '#b364a4',
    500: '#8e137f',
    950: '#000000',
  },
}
SCSS
$custom: #8e137f;
$custom-light: #b364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e137f",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 307.317,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.18857,
    "h": 334.2
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#8E137F
secondary
#3BC24B
accent
#F34C35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E137F

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

Preview Lab → · Contrast checker → · Palette generator →

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