#8E1D81#8E1D81

#8E1D81 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.182 H 333.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E1D81
RGBrgb(142, 29, 129)
HSLhsl(307, 66%, 34%)
HSVhsv(307, 80%, 56%)
CMYKcmyk(0%, 79.6%, 9.2%, 44.3%)
CIE-LABlab(34.43, 56.14, -29.57)
CIE-LCHlch(34.43, 63.46, 332.22°)
OKLaboklab(45.89% 0.1626 -0.0812)
OKLCHoklch(45.89% 0.182 333.5)
XYZxyz(15.5573, 8.2159, 21.5311)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D81 #1D8E2A
analogous
#621D8E #8E1D81 #8E1D48
triadic
#8E1D81 #818E1D #1D818E
tetradic
#8E1D81 #8E621D #1D8E2A #1D488E
square
#8E1D81 #8E621D #1D8E2A #1D488E
split-complementary
#8E1D81 #488E1D #1D8E62
monochromatic
#280825 #5B1353 #8E1D81 #C127AF #DA4BCA

Accessibility & contrast

On white

7.95
#8E1D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E1D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D81
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D81#FFFFFF#000000##FFFFFF
##8E1D811.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184784
Deuteranopia (green-blind)
#45577E
Tritanopia (blue-blind)
#95294E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1d81;
/* rgb */ color: rgb(142, 29, 129);
/* oklch */ color: oklch(45.9% 0.182 333.5);
Tailwind
colors: {
  custom: {
    50: '#b367a6',
    500: '#8e1d81',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d81;
$custom-light: #b367a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d81",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 306.903,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.1817,
    "h": 333.5
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#8E1D81
secondary
#4ABD57
accent
#E9523F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1D81

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

Preview Lab → · Contrast checker → · Palette generator →

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