#8E1E96#8E1E96

#8E1E96 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.197 H 325.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8E1E96
RGBrgb(142, 30, 150)
HSLhsl(296, 67%, 35%)
HSVhsv(296, 80%, 59%)
CMYKcmyk(5.3%, 80%, 0%, 41.2%)
CIE-LABlab(35.76, 59.31, -40.41)
CIE-LCHlch(35.76, 71.77, 325.73°)
OKLaboklab(47.23% 0.1613 -0.1127)
OKLCHoklch(47.23% 0.197 325.1)
XYZxyz(17.1242, 8.8825, 29.6608)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E96 #26961E
analogous
#521E96 #8E1E96 #961E62
triadic
#8E1E96 #968E1E #1E968E
tetradic
#8E1E96 #96521E #26961E #1E6296
square
#8E1E96 #96521E #26961E #1E6296
split-complementary
#8E1E96 #62961E #1E9652
monochromatic
#2D0A30 #5E1463 #8E1E96 #BE28C9 #D352DC

Accessibility & contrast

On white

7.56
#8E1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E96
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E96#FFFFFF#000000##FFFFFF
##8E1E961.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#395993
Tritanopia (blue-blind)
#91355A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1e96;
/* rgb */ color: rgb(142, 30, 150);
/* oklch */ color: oklch(47.2% 0.197 325.1);
Tailwind
colors: {
  custom: {
    50: '#b369b5',
    500: '#8e1e96',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e96;
$custom-light: #b369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e96",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 296,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.19678,
    "h": 325.1
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#8E1E96
secondary
#58BF50
accent
#EA3E4A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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