#8E1584#8E1584

#8E1584 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 332.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8E1584
RGBrgb(142, 21, 132)
HSLhsl(305, 74%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 85.2%, 7%, 44.3%)
CIE-LABlab(33.89, 58.66, -32.30)
CIE-LCHlch(33.89, 66.96, 331.16°)
OKLaboklab(45.56% 0.1686 -0.089)
OKLCHoklch(45.56% 0.191 332.2)
XYZxyz(15.5884, 7.9544, 22.5397)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1584 #158E1F
analogous
#5C158E #8E1584 #8E1547
triadic
#8E1584 #848E15 #15848E
tetradic
#8E1584 #8E5C15 #158E1F #15478E
square
#8E1584 #8E5C15 #158E1F #15478E
split-complementary
#8E1584 #478E15 #158E5C
monochromatic
#230521 #590D52 #8E1584 #C31DB6 #E23BD4

Accessibility & contrast

On white

8.11
#8E1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1584
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1584#FFFFFF#000000##FFFFFF
##8E15841.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064587
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#94264E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1584;
/* rgb */ color: rgb(142, 21, 132);
/* oklch */ color: oklch(45.6% 0.191 332.2);
Tailwind
colors: {
  custom: {
    50: '#b365a8',
    500: '#8e1584',
    950: '#000000',
  },
}
SCSS
$custom: #8e1584;
$custom-light: #b365a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1584",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 304.959,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.19065,
    "h": 332.2
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#8E1584
secondary
#3DC248
accent
#F14637
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1584

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

Preview Lab → · Contrast checker → · Palette generator →

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