#8E1A88#8E1A88

#8E1A88 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.190 H 330.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8E1A88
RGBrgb(142, 26, 136)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 56%)
CMYKcmyk(0%, 81.7%, 4.2%, 44.3%)
CIE-LABlab(34.54, 58.07, -33.75)
CIE-LCHlch(34.54, 67.17, 329.83°)
OKLaboklab(46.09% 0.165 -0.0933)
OKLCHoklch(46.09% 0.19 330.5)
XYZxyz(15.9686, 8.2685, 24.0427)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A88 #1A8E20
analogous
#5A1A8E #8E1A88 #8E1A4E
triadic
#8E1A88 #888E1A #1A888E
tetradic
#8E1A88 #8E5A1A #1A8E20 #1A4E8E
square
#8E1A88 #8E5A1A #1A8E20 #1A4E8E
split-complementary
#8E1A88 #4E8E1A #1A8E5A
monochromatic
#270725 #5A1156 #8E1A88 #C223BA #DD45D5

Accessibility & contrast

On white

7.91
#8E1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A88
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A88#FFFFFF#000000##FFFFFF
##8E1A881.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#942C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1a88;
/* rgb */ color: rgb(142, 26, 136);
/* oklch */ color: oklch(46.1% 0.190 330.5);
Tailwind
colors: {
  custom: {
    50: '#b367ab',
    500: '#8e1a88',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a88;
$custom-light: #b367ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a88",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 303.103,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46092,
    "c": 0.18957,
    "h": 330.5
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#8E1A88
secondary
#45BE4C
accent
#EC453C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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