#8E1C8D#8E1C8D

#8E1C8D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.192 H 328.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8E1C8D
RGBrgb(142, 28, 141)
HSLhsl(301, 67%, 33%)
HSVhsv(301, 80%, 56%)
CMYKcmyk(0%, 80.3%, 0.7%, 44.3%)
CIE-LABlab(35.01, 58.35, -36.08)
CIE-LCHlch(35.01, 68.60, 328.27°)
OKLaboklab(46.53% 0.1634 -0.1)
OKLCHoklch(46.53% 0.192 328.5)
XYZxyz(16.3781, 8.5056, 25.9733)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C8D #1C8E1D
analogous
#561C8E #8E1C8D #8E1C54
triadic
#8E1C8D #8D8E1C #1C8D8E
tetradic
#8E1C8D #8E561C #1C8E1D #1C548E
square
#8E1C8D #8E561C #1C8E1D #1C548E
split-complementary
#8E1C8D #548E1C #1C8E56
monochromatic
#280827 #5B125A #8E1C8D #C126C0 #DB49DA

Accessibility & contrast

On white

7.78
#8E1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C8D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C8D#FFFFFF#000000##FFFFFF
##8E1C8D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#932F55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1c8d;
/* rgb */ color: rgb(142, 28, 141);
/* oklch */ color: oklch(46.5% 0.192 328.5);
Tailwind
colors: {
  custom: {
    50: '#b368af',
    500: '#8e1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c8d;
$custom-light: #b368af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c8d",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 300.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46527,
    "c": 0.19158,
    "h": 328.5
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#8E1C8D
secondary
#49BD4A
accent
#EA3F3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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