#8E1E8D#8E1E8D

#8E1E8D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.190 H 328.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8E1E8D
RGBrgb(142, 30, 141)
HSLhsl(301, 65%, 34%)
HSVhsv(301, 79%, 56%)
CMYKcmyk(0%, 78.9%, 0.7%, 44.3%)
CIE-LABlab(35.21, 57.78, -35.77)
CIE-LCHlch(35.21, 67.96, 328.24°)
OKLaboklab(46.67% 0.1618 -0.0991)
OKLCHoklch(46.67% 0.19 328.5)
XYZxyz(16.4272, 8.6037, 25.9896)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E8D #1E8E1F
analogous
#571E8E #8E1E8D #8E1E55
triadic
#8E1E8D #8D8E1E #1E8D8E
tetradic
#8E1E8D #8E571E #1E8E1F #1E558E
square
#8E1E8D #8E571E #1E8E1F #1E558E
split-complementary
#8E1E8D #558E1E #1E8E57
monochromatic
#290929 #5B135B #8E1E8D #C129BF #D94DD8

Accessibility & contrast

On white

7.72
#8E1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E8D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E8D#FFFFFF#000000##FFFFFF
##8E1E8D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A90
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#933155
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e1e8d;
/* rgb */ color: rgb(142, 30, 141);
/* oklch */ color: oklch(46.7% 0.190 328.5);
Tailwind
colors: {
  custom: {
    50: '#b368af',
    500: '#8e1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e8d;
$custom-light: #b368af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e8d",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 300.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.18975,
    "h": 328.5
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#8E1E8D
secondary
#4CBC4D
accent
#E84140
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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