#8E1384#8E1384

#8E1384 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.192 H 332.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8E1384
RGBrgb(142, 19, 132)
HSLhsl(305, 76%, 32%)
HSVhsv(305, 87%, 56%)
CMYKcmyk(0%, 86.6%, 7%, 44.3%)
CIE-LABlab(33.74, 59.09, -32.53)
CIE-LCHlch(33.74, 67.45, 331.16°)
OKLaboklab(45.45% 0.1699 -0.0897)
OKLCHoklch(45.45% 0.192 332.2)
XYZxyz(15.5531, 7.8838, 22.5279)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1384 #138E1D
analogous
#5B138E #8E1384 #8E1347
triadic
#8E1384 #848E13 #13848E
tetradic
#8E1384 #8E5B13 #138E1D #13478E
square
#8E1384 #8E5B13 #138E1D #13478E
split-complementary
#8E1384 #478E13 #138E5B
monochromatic
#220520 #580C52 #8E1384 #C41AB6 #E437D6

Accessibility & contrast

On white

8.15
#8E1384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E1384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1384
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1384#FFFFFF#000000##FFFFFF
##8E13841.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#94254E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1384;
/* rgb */ color: rgb(142, 19, 132);
/* oklch */ color: oklch(45.5% 0.192 332.2);
Tailwind
colors: {
  custom: {
    50: '#b364a8',
    500: '#8e1384',
    950: '#000000',
  },
}
SCSS
$custom: #8e1384;
$custom-light: #b364a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1384",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 132
  },
  "hsl": {
    "h": 304.878,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.19207,
    "h": 332.2
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#8E1384
secondary
#3BC246
accent
#F34435
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1384

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

Preview Lab → · Contrast checker → · Palette generator →

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