#8E1784#8E1784

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

Color values

HEX#8E1784
RGBrgb(142, 23, 132)
HSLhsl(305, 72%, 32%)
HSVhsv(305, 84%, 56%)
CMYKcmyk(0%, 83.8%, 7%, 44.3%)
CIE-LABlab(34.05, 58.19, -32.05)
CIE-LCHlch(34.05, 66.43, 331.16°)
OKLaboklab(45.67% 0.1673 -0.0883)
OKLCHoklch(45.67% 0.189 332.2)
XYZxyz(15.6266, 8.0309, 22.5524)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1784 #178E21
analogous
#5D178E #8E1784 #8E1749
triadic
#8E1784 #848E17 #17848E
tetradic
#8E1784 #8E5D17 #178E21 #17498E
square
#8E1784 #8E5D17 #178E21 #17498E
split-complementary
#8E1784 #498E17 #178E5D
monochromatic
#250622 #590E53 #8E1784 #C320B5 #E03FD2

Accessibility & contrast

On white

8.06
#8E1784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E1784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1784
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1784#FFFFFF#000000##FFFFFF
##8E17841.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4687
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#94284F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1784;
/* rgb */ color: rgb(142, 23, 132);
/* oklch */ color: oklch(45.7% 0.189 332.2);
Tailwind
colors: {
  custom: {
    50: '#b366a8',
    500: '#8e1784',
    950: '#000000',
  },
}
SCSS
$custom: #8e1784;
$custom-light: #b366a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1784",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 305.042,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.18912,
    "h": 332.2
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#8E1784
secondary
#40C04B
accent
#EF4839
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1784

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

Preview Lab → · Contrast checker → · Palette generator →

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