#8E1D80#8E1D80

#8E1D80 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 333.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8E1D80
RGBrgb(142, 29, 128)
HSLhsl(307, 66%, 34%)
HSVhsv(307, 80%, 56%)
CMYKcmyk(0%, 79.6%, 9.9%, 44.3%)
CIE-LABlab(34.37, 55.99, -29.04)
CIE-LCHlch(34.37, 63.07, 332.59°)
OKLaboklab(45.83% 0.1625 -0.0796)
OKLCHoklch(45.83% 0.181 333.9)
XYZxyz(15.4911, 8.1894, 21.1827)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D80 #1D8E2B
analogous
#631D8E #8E1D80 #8E1D47
triadic
#8E1D80 #808E1D #1D808E
tetradic
#8E1D80 #8E631D #1D8E2B #1D478E
square
#8E1D80 #8E631D #1D8E2B #1D478E
split-complementary
#8E1D80 #478E1D #1D8E63
monochromatic
#280824 #5B1352 #8E1D80 #C127AE #DA4BC9

Accessibility & contrast

On white

7.96
#8E1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1D80
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D80#FFFFFF#000000##FFFFFF
##8E1D801.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194683
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#95294E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1d80;
/* rgb */ color: rgb(142, 29, 128);
/* oklch */ color: oklch(45.8% 0.181 333.9);
Tailwind
colors: {
  custom: {
    50: '#b367a5',
    500: '#8e1d80',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d80;
$custom-light: #b367a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d80",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 307.434,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.18097,
    "h": 333.9
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#8E1D80
secondary
#4ABD58
accent
#E9543F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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