#8E1A86#8E1A86

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

Color values

HEX#8E1A86
RGBrgb(142, 26, 134)
HSLhsl(304, 69%, 33%)
HSVhsv(304, 82%, 56%)
CMYKcmyk(0%, 81.7%, 5.6%, 44.3%)
CIE-LABlab(34.42, 57.75, -32.70)
CIE-LCHlch(34.42, 66.37, 330.48°)
OKLaboklab(45.97% 0.1651 -0.0902)
OKLCHoklch(45.97% 0.188 331.3)
XYZxyz(15.8278, 8.2121, 23.3011)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A86 #1A8E22
analogous
#5C1A8E #8E1A86 #8E1A4C
triadic
#8E1A86 #868E1A #1A868E
tetradic
#8E1A86 #8E5C1A #1A8E22 #1A4C8E
square
#8E1A86 #8E5C1A #1A8E22 #1A4C8E
split-complementary
#8E1A86 #4C8E1A #1A8E5C
monochromatic
#270724 #5A1155 #8E1A86 #C223B7 #DD45D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1A86#FFFFFF#000000##FFFFFF
##8E1A861.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)
#0B4789
Deuteranopia (green-blind)
#425683
Tritanopia (blue-blind)
#942A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1a86;
/* rgb */ color: rgb(142, 26, 134);
/* oklch */ color: oklch(46.0% 0.188 331.3);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8e1a86',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a86;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a86",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 304.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.1881,
    "h": 331.3
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#8E1A86
secondary
#45BE4E
accent
#EC483C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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