#8E1A87#8E1A87

#8E1A87 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.189 H 330.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8E1A87
RGBrgb(142, 26, 135)
HSLhsl(304, 69%, 33%)
HSVhsv(304, 82%, 56%)
CMYKcmyk(0%, 81.7%, 4.9%, 44.3%)
CIE-LABlab(34.48, 57.91, -33.23)
CIE-LCHlch(34.48, 66.76, 330.16°)
OKLaboklab(46.03% 0.1651 -0.0917)
OKLCHoklch(46.03% 0.189 330.9)
XYZxyz(15.8979, 8.2402, 23.6702)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A87 #1A8E21
analogous
#5B1A8E #8E1A87 #8E1A4D
triadic
#8E1A87 #878E1A #1A878E
tetradic
#8E1A87 #8E5B1A #1A8E21 #1A4D8E
square
#8E1A87 #8E5B1A #1A8E21 #1A4D8E
split-complementary
#8E1A87 #4D8E1A #1A8E5B
monochromatic
#270725 #5A1156 #8E1A87 #C223B8 #DD45D4

Accessibility & contrast

On white

7.93
#8E1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A87
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A87#FFFFFF#000000##FFFFFF
##8E1A871.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#415784
Tritanopia (blue-blind)
#942B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1a87;
/* rgb */ color: rgb(142, 26, 135);
/* oklch */ color: oklch(46.0% 0.189 330.9);
Tailwind
colors: {
  custom: {
    50: '#b367aa',
    500: '#8e1a87',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a87;
$custom-light: #b367aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a87",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 303.621,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.18883,
    "h": 330.9
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#8E1A87
secondary
#45BE4D
accent
#EC473C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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