#8E1A89#8E1A89

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

Color values

HEX#8E1A89
RGBrgb(142, 26, 137)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 56%)
CMYKcmyk(0%, 81.7%, 3.5%, 44.3%)
CIE-LABlab(34.59, 58.23, -34.28)
CIE-LCHlch(34.59, 67.57, 329.51°)
OKLaboklab(46.15% 0.165 -0.0948)
OKLCHoklch(46.15% 0.19 330.1)
XYZxyz(16.0400, 8.2970, 24.4187)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A89 #1A8E1F
analogous
#591A8E #8E1A89 #8E1A4F
triadic
#8E1A89 #898E1A #1A898E
tetradic
#8E1A89 #8E591A #1A8E1F #1A4F8E
square
#8E1A89 #8E591A #1A8E1F #1A4F8E
split-complementary
#8E1A89 #4F8E1A #1A8E59
monochromatic
#270725 #5A1157 #8E1A89 #C223BB #DD45D6

Accessibility & contrast

On white

7.90
#8E1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A89
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A89#FFFFFF#000000##FFFFFF
##8E1A891.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488C
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#942C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1a89;
/* rgb */ color: rgb(142, 26, 137);
/* oklch */ color: oklch(46.2% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#b367ac',
    500: '#8e1a89',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a89;
$custom-light: #b367ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a89",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 302.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46152,
    "c": 0.19032,
    "h": 330.1
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#8E1A89
secondary
#45BE4B
accent
#EC443C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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