#8E1381#8E1381

#8E1381 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.190 H 333.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8E1381
RGBrgb(142, 19, 129)
HSLhsl(306, 76%, 32%)
HSVhsv(306, 87%, 56%)
CMYKcmyk(0%, 86.6%, 9.2%, 44.3%)
CIE-LABlab(33.57, 58.63, -30.93)
CIE-LCHlch(33.57, 66.29, 332.19°)
OKLaboklab(45.28% 0.1699 -0.085)
OKLCHoklch(45.28% 0.19 333.4)
XYZxyz(15.3508, 7.8029, 21.4623)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1381 #138E20
analogous
#5E138E #8E1381 #8E1344
triadic
#8E1381 #818E13 #13818E
tetradic
#8E1381 #8E5E13 #138E20 #13448E
square
#8E1381 #8E5E13 #138E20 #13448E
split-complementary
#8E1381 #448E13 #138E5E
monochromatic
#22051F #580C50 #8E1381 #C41AB2 #E437D2

Accessibility & contrast

On white

8.20
#8E1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1381
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1381#FFFFFF#000000##FFFFFF
##8E13811.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4484
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#95244C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1381;
/* rgb */ color: rgb(142, 19, 129);
/* oklch */ color: oklch(45.3% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#b364a6',
    500: '#8e1381',
    950: '#000000',
  },
}
SCSS
$custom: #8e1381;
$custom-light: #b364a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1381",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 306.341,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.18996,
    "h": 333.4
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#8E1381
secondary
#3BC249
accent
#F34935
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1381

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

Preview Lab → · Contrast checker → · Palette generator →

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