#8E1981#8E1981

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

Color values

HEX#8E1981
RGBrgb(142, 25, 129)
HSLhsl(307, 70%, 33%)
HSVhsv(307, 82%, 56%)
CMYKcmyk(0%, 82.4%, 9.2%, 44.3%)
CIE-LABlab(34.05, 57.23, -30.17)
CIE-LCHlch(34.05, 64.70, 332.20°)
OKLaboklab(45.62% 0.1658 -0.0829)
OKLCHoklch(45.62% 0.185 333.4)
XYZxyz(15.4655, 8.0324, 21.5005)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1981 #198E26
analogous
#61198E #8E1981 #8E1946
triadic
#8E1981 #818E19 #19818E
tetradic
#8E1981 #8E6119 #198E26 #19468E
square
#8E1981 #8E6119 #198E26 #19468E
split-complementary
#8E1981 #468E19 #198E61
monochromatic
#260722 #5A1052 #8E1981 #C222B0 #DE43CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1981#FFFFFF#000000##FFFFFF
##8E19811.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)
#134684
Deuteranopia (green-blind)
#44567E
Tritanopia (blue-blind)
#95274D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1981;
/* rgb */ color: rgb(142, 25, 129);
/* oklch */ color: oklch(45.6% 0.185 333.4);
Tailwind
colors: {
  custom: {
    50: '#b366a6',
    500: '#8e1981',
    950: '#000000',
  },
}
SCSS
$custom: #8e1981;
$custom-light: #b366a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1981",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 306.667,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.18532,
    "h": 333.4
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#8E1981
secondary
#44BF51
accent
#ED4F3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1981

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

Preview Lab → · Contrast checker → · Palette generator →

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