#8E1D84#8E1D84

#8E1D84 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.184 H 332.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8E1D84
RGBrgb(142, 29, 132)
HSLhsl(305, 66%, 34%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 79.6%, 7%, 44.3%)
CIE-LABlab(34.59, 56.61, -31.18)
CIE-LCHlch(34.59, 64.63, 331.15°)
OKLaboklab(46.06% 0.1626 -0.0858)
OKLCHoklch(46.06% 0.184 332.2)
XYZxyz(15.7596, 8.2968, 22.5967)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D84 #1D8E27
analogous
#5F1D8E #8E1D84 #8E1D4B
triadic
#8E1D84 #848E1D #1D848E
tetradic
#8E1D84 #8E5F1D #1D8E27 #1D4B8E
square
#8E1D84 #8E5F1D #1D8E27 #1D4B8E
split-complementary
#8E1D84 #4B8E1D #1D8E5F
monochromatic
#280826 #5B1355 #8E1D84 #C127B3 #DA4BCE

Accessibility & contrast

On white

7.90
#8E1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D84
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D84#FFFFFF#000000##FFFFFF
##8E1D841.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144787
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#942B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1d84;
/* rgb */ color: rgb(142, 29, 132);
/* oklch */ color: oklch(46.1% 0.184 332.2);
Tailwind
colors: {
  custom: {
    50: '#b367a8',
    500: '#8e1d84',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d84;
$custom-light: #b367a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d84",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 305.31,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.1839,
    "h": 332.2
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#8E1D84
secondary
#4ABD54
accent
#E94E3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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