#8E138C#8E138C

#8E138C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.198 H 329.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8E138C
RGBrgb(142, 19, 140)
HSLhsl(301, 76%, 32%)
HSVhsv(301, 87%, 56%)
CMYKcmyk(0%, 86.6%, 1.4%, 44.3%)
CIE-LABlab(34.21, 60.34, -36.74)
CIE-LCHlch(34.21, 70.64, 328.66°)
OKLaboklab(45.94% 0.1696 -0.1019)
OKLCHoklch(45.94% 0.198 329)
XYZxyz(16.1217, 8.1113, 25.5224)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E138C #138E15
analogous
#53138E #8E138C #8E134F
triadic
#8E138C #8C8E13 #138C8E
tetradic
#8E138C #8E5313 #138E15 #134F8E
square
#8E138C #8E5313 #138E15 #134F8E
split-complementary
#8E138C #4F8E13 #138E53
monochromatic
#220522 #580C57 #8E138C #C41AC1 #E437E1

Accessibility & contrast

On white

8.01
#8E138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E138C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E138C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E138C#FFFFFF#000000##FFFFFF
##8E138C1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#932A53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e138c;
/* rgb */ color: rgb(142, 19, 140);
/* oklch */ color: oklch(45.9% 0.198 329.0);
Tailwind
colors: {
  custom: {
    50: '#b365ae',
    500: '#8e138c',
    950: '#000000',
  },
}
SCSS
$custom: #8e138c;
$custom-light: #b365ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e138c",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 300.976,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.19783,
    "h": 329
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#8E138C
secondary
#3BC23D
accent
#F33835
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E138C

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

Preview Lab → · Contrast checker → · Palette generator →

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