#8E1C81#8E1C81

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

Color values

HEX#8E1C81
RGBrgb(142, 28, 129)
HSLhsl(307, 67%, 33%)
HSVhsv(307, 80%, 56%)
CMYKcmyk(0%, 80.3%, 9.2%, 44.3%)
CIE-LABlab(34.33, 56.43, -29.73)
CIE-LCHlch(34.33, 63.78, 332.22°)
OKLaboklab(45.82% 0.1634 -0.0816)
OKLCHoklch(45.82% 0.183 333.5)
XYZxyz(15.5332, 8.1676, 21.5231)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C81 #1C8E29
analogous
#621C8E #8E1C81 #8E1C48
triadic
#8E1C81 #818E1C #1C818E
tetradic
#8E1C81 #8E621C #1C8E29 #1C488E
square
#8E1C81 #8E621C #1C8E29 #1C488E
split-complementary
#8E1C81 #488E1C #1C8E62
monochromatic
#280824 #5B1253 #8E1C81 #C126AF #DB49CB

Accessibility & contrast

On white

7.98
#8E1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C81
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C81#FFFFFF#000000##FFFFFF
##8E1C811.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1c81;
/* rgb */ color: rgb(142, 28, 129);
/* oklch */ color: oklch(45.8% 0.183 333.5);
Tailwind
colors: {
  custom: {
    50: '#b367a6',
    500: '#8e1c81',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c81;
$custom-light: #b367a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c81",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 306.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.18264,
    "h": 333.5
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#8E1C81
secondary
#49BD56
accent
#EA513E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1C81

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

Preview Lab → · Contrast checker → · Palette generator →

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