#8E1E9D#8E1E9D

#8E1E9D is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.202 H 322.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8E1E9D
RGBrgb(142, 30, 157)
HSLhsl(293, 68%, 37%)
HSVhsv(293, 81%, 62%)
CMYKcmyk(9.6%, 80.9%, 0%, 38.4%)
CIE-LABlab(36.20, 60.54, -43.95)
CIE-LCHlch(36.20, 74.81, 324.02°)
OKLaboklab(47.69% 0.1607 -0.123)
OKLCHoklch(47.69% 0.202 322.6)
XYZxyz(17.7048, 9.1147, 32.7185)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E9D #2D9D1E
analogous
#4E1E9D #8E1E9D #9D1E6D
triadic
#8E1E9D #9D8E1E #1E9D8E
tetradic
#8E1E9D #9D4E1E #2D9D1E #1E6D9D
square
#8E1E9D #9D4E1E #2D9D1E #1E6D9D
split-complementary
#8E1E9D #6D9D1E #1E9D4E
monochromatic
#310A36 #60146A #8E1E9D #BC28D0 #CF57DF

Accessibility & contrast

On white

7.44
#8E1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E9D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E9D#FFFFFF#000000##FFFFFF
##8E1E9D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#90395E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1e9d;
/* rgb */ color: rgb(142, 30, 157);
/* oklch */ color: oklch(47.7% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#b369ba',
    500: '#8e1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e9d;
$custom-light: #b369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e9d",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 292.913,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.20235,
    "h": 322.6
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#8E1E9D
secondary
#61C254
accent
#EB3D52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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