#8E1E81#8E1E81

#8E1E81 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.181 H 333.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1E81
RGBrgb(142, 30, 129)
HSLhsl(307, 65%, 34%)
HSVhsv(307, 79%, 56%)
CMYKcmyk(0%, 78.9%, 9.2%, 44.3%)
CIE-LABlab(34.53, 55.85, -29.41)
CIE-LCHlch(34.53, 63.12, 332.23°)
OKLaboklab(45.96% 0.1617 -0.0807)
OKLCHoklch(45.96% 0.181 333.5)
XYZxyz(15.5822, 8.2657, 21.5394)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E81 #1E8E2B
analogous
#631E8E #8E1E81 #8E1E49
triadic
#8E1E81 #818E1E #1E818E
tetradic
#8E1E81 #8E631E #1E8E2B #1E498E
square
#8E1E81 #8E631E #1E8E2B #1E498E
split-complementary
#8E1E81 #498E1E #1E8E63
monochromatic
#290925 #5B1353 #8E1E81 #C129AF #D94DC9

Accessibility & contrast

On white

7.92
#8E1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E1E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E81
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E81#FFFFFF#000000##FFFFFF
##8E1E811.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#952A4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1e81;
/* rgb */ color: rgb(142, 30, 129);
/* oklch */ color: oklch(46.0% 0.181 333.5);
Tailwind
colors: {
  custom: {
    50: '#b368a6',
    500: '#8e1e81',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e81;
$custom-light: #b368a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e81",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 306.964,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.18072,
    "h": 333.5
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#8E1E81
secondary
#4CBC59
accent
#E85340
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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