#8E1382#8E1382

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

Color values

HEX#8E1382
RGBrgb(142, 19, 130)
HSLhsl(306, 76%, 32%)
HSVhsv(306, 87%, 56%)
CMYKcmyk(0%, 86.6%, 8.5%, 44.3%)
CIE-LABlab(33.63, 58.78, -31.47)
CIE-LCHlch(33.63, 66.68, 331.84°)
OKLaboklab(45.33% 0.1699 -0.0866)
OKLCHoklch(45.33% 0.191 333)
XYZxyz(15.4176, 7.8296, 21.8140)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1382 #138E1F
analogous
#5D138E #8E1382 #8E1345
triadic
#8E1382 #828E13 #13828E
tetradic
#8E1382 #8E5D13 #138E1F #13458E
square
#8E1382 #8E5D13 #138E1F #13458E
split-complementary
#8E1382 #458E13 #138E5D
monochromatic
#22051F #580C51 #8E1382 #C41AB3 #E437D3

Accessibility & contrast

On white

8.19
#8E1382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1382
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1382#FFFFFF#000000##FFFFFF
##8E13821.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#95244D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1382;
/* rgb */ color: rgb(142, 19, 130);
/* oklch */ color: oklch(45.3% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#b364a7',
    500: '#8e1382',
    950: '#000000',
  },
}
SCSS
$custom: #8e1382;
$custom-light: #b364a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1382",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 130
  },
  "hsl": {
    "h": 305.854,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.19066,
    "h": 333
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#8E1382
secondary
#3BC248
accent
#F34735
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1382

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

Preview Lab → · Contrast checker → · Palette generator →

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