#8E1D78#8E1D78

#8E1D78 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.175 H 337.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8E1D78
RGBrgb(142, 29, 120)
HSLhsl(312, 66%, 34%)
HSVhsv(312, 80%, 56%)
CMYKcmyk(0%, 79.6%, 15.5%, 44.3%)
CIE-LABlab(33.96, 54.79, -24.68)
CIE-LCHlch(33.96, 60.09, 335.75°)
OKLaboklab(45.4% 0.1619 -0.0671)
OKLCHoklch(45.4% 0.175 337.5)
XYZxyz(14.9852, 7.9870, 18.5181)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D78 #1D8E33
analogous
#6B1D8E #8E1D78 #8E1D3F
triadic
#8E1D78 #788E1D #1D788E
tetradic
#8E1D78 #8E6B1D #1D8E33 #1D3F8E
square
#8E1D78 #8E6B1D #1D8E33 #1D3F8E
split-complementary
#8E1D78 #3F8E1D #1D8E6B
monochromatic
#280822 #5B134D #8E1D78 #C127A3 #DA4BBE

Accessibility & contrast

On white

8.09
#8E1D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D78
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D78#FFFFFF#000000##FFFFFF
##8E1D781.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#962449
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1d78;
/* rgb */ color: rgb(142, 29, 120);
/* oklch */ color: oklch(45.4% 0.175 337.5);
Tailwind
colors: {
  custom: {
    50: '#b3679f',
    500: '#8e1d78',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d78;
$custom-light: #b3679f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d78",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 311.681,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.17529,
    "h": 337.5
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#8E1D78
secondary
#4ABD60
accent
#E9603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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