#8E1288#8E1288

#8E1288 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.196 H 330.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8E1288
RGBrgb(142, 18, 136)
HSLhsl(303, 78%, 31%)
HSVhsv(303, 87%, 56%)
CMYKcmyk(0%, 87.3%, 4.2%, 44.3%)
CIE-LABlab(33.90, 59.91, -34.76)
CIE-LCHlch(33.90, 69.26, 329.88°)
OKLaboklab(45.64% 0.1703 -0.0961)
OKLCHoklch(45.64% 0.196 330.6)
XYZxyz(15.8155, 7.9623, 23.9917)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1288 #128E18
analogous
#56128E #8E1288 #8E124A
triadic
#8E1288 #888E12 #12888E
tetradic
#8E1288 #8E5612 #128E18 #124A8E
square
#8E1288 #8E5612 #128E18 #124A8E
split-complementary
#8E1288 #4A8E12 #128E56
monochromatic
#210420 #580B54 #8E1288 #C419BC #E535DD

Accessibility & contrast

On white

8.10
#8E1288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1288
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1288#FFFFFF#000000##FFFFFF
##8E12881.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#942850
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1288;
/* rgb */ color: rgb(142, 18, 136);
/* oklch */ color: oklch(45.6% 0.196 330.6);
Tailwind
colors: {
  custom: {
    50: '#b364ab',
    500: '#8e1288',
    950: '#000000',
  },
}
SCSS
$custom: #8e1288;
$custom-light: #b364ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1288",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 136
  },
  "hsl": {
    "h": 302.903,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45643,
    "c": 0.19559,
    "h": 330.6
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#8E1288
secondary
#3AC240
accent
#F43D34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1288

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

Preview Lab → · Contrast checker → · Palette generator →

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