#8E1E9B#8E1E9B

#8E1E9B is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.201 H 323.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8E1E9B
RGBrgb(142, 30, 155)
HSLhsl(294, 68%, 36%)
HSVhsv(294, 81%, 61%)
CMYKcmyk(8.4%, 80.6%, 0%, 39.2%)
CIE-LABlab(36.07, 60.18, -42.95)
CIE-LCHlch(36.07, 73.93, 324.49°)
OKLaboklab(47.56% 0.1609 -0.1201)
OKLCHoklch(47.56% 0.201 323.3)
XYZxyz(17.5354, 9.0470, 31.8266)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E9B #2B9B1E
analogous
#501E9B #8E1E9B #9B1E6A
triadic
#8E1E9B #9B8E1E #1E9B8E
tetradic
#8E1E9B #9B501E #2B9B1E #1E6A9B
square
#8E1E9B #9B501E #2B9B1E #1E6A9B
split-complementary
#8E1E9B #6A9B1E #1E9B50
monochromatic
#300A34 #5F1468 #8E1E9B #BD28CE #D055DE

Accessibility & contrast

On white

7.48
#8E1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E9B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E9B#FFFFFF#000000##FFFFFF
##8E1E9B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#90385D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1e9b;
/* rgb */ color: rgb(142, 30, 155);
/* oklch */ color: oklch(47.6% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#b369b9',
    500: '#8e1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e9b;
$custom-light: #b369b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e9b",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 293.76,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.20074,
    "h": 323.3
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#8E1E9B
secondary
#5FC253
accent
#EA3D4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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