#8E138A#8E138A

#8E138A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.196 H 329.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8E138A
RGBrgb(142, 19, 138)
HSLhsl(302, 76%, 32%)
HSVhsv(302, 87%, 56%)
CMYKcmyk(0%, 86.6%, 2.8%, 44.3%)
CIE-LABlab(34.09, 60.02, -35.70)
CIE-LCHlch(34.09, 69.83, 329.26°)
OKLaboklab(45.82% 0.1697 -0.0989)
OKLCHoklch(45.82% 0.196 329.8)
XYZxyz(15.9756, 8.0528, 24.7528)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E138A #138E17
analogous
#55138E #8E138A #8E134D
triadic
#8E138A #8A8E13 #138A8E
tetradic
#8E138A #8E5513 #138E17 #134D8E
square
#8E138A #8E5513 #138E17 #134D8E
split-complementary
#8E138A #4D8E13 #138E55
monochromatic
#220521 #580C56 #8E138A #C41ABE #E437DF

Accessibility & contrast

On white

8.04
#8E138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E138A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E138A#FFFFFF#000000##FFFFFF
##8E138A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#3D5687
Tritanopia (blue-blind)
#932951
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e138a;
/* rgb */ color: rgb(142, 19, 138);
/* oklch */ color: oklch(45.8% 0.196 329.8);
Tailwind
colors: {
  custom: {
    50: '#b365ad',
    500: '#8e138a',
    950: '#000000',
  },
}
SCSS
$custom: #8e138a;
$custom-light: #b365ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8e138a",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 301.951,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.19638,
    "h": 329.8
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#8E138A
secondary
#3BC23F
accent
#F33B35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E138A

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

Preview Lab → · Contrast checker → · Palette generator →

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