#8E138D#8E138D

#8E138D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.199 H 328.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8E138D
RGBrgb(142, 19, 141)
HSLhsl(300, 76%, 32%)
HSVhsv(300, 87%, 56%)
CMYKcmyk(0%, 86.6%, 0.7%, 44.3%)
CIE-LABlab(34.27, 60.50, -37.26)
CIE-LCHlch(34.27, 71.05, 328.37°)
OKLaboklab(46% 0.1695 -0.1034)
OKLCHoklch(46% 0.199 328.6)
XYZxyz(16.1958, 8.1409, 25.9125)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E138D #138E14
analogous
#52138E #8E138D #8E1350
triadic
#8E138D #8D8E13 #138D8E
tetradic
#8E138D #8E5213 #138E14 #13508E
square
#8E138D #8E5213 #138E14 #13508E
split-complementary
#8E138D #508E13 #138E52
monochromatic
#220522 #580C57 #8E138D #C41AC3 #E437E3

Accessibility & contrast

On white

7.99
#8E138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E138D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E138D#FFFFFF#000000##FFFFFF
##8E138D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#932B53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e138d;
/* rgb */ color: rgb(142, 19, 141);
/* oklch */ color: oklch(46.0% 0.199 328.6);
Tailwind
colors: {
  custom: {
    50: '#b365af',
    500: '#8e138d',
    950: '#000000',
  },
}
SCSS
$custom: #8e138d;
$custom-light: #b365af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e138d",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 300.488,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.19856,
    "h": 328.6
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#8E138D
secondary
#3BC23C
accent
#F33635
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8E138D

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

Preview Lab → · Contrast checker → · Palette generator →

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