#8E1F96#8E1F96

#8E1F96 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.196 H 325.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8E1F96
RGBrgb(142, 31, 150)
HSLhsl(296, 66%, 35%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(5.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(35.86, 59.02, -40.25)
CIE-LCHlch(35.86, 71.44, 325.70°)
OKLaboklab(47.3% 0.1605 -0.1122)
OKLCHoklch(47.3% 0.196 325)
XYZxyz(17.1499, 8.9339, 29.6694)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F96 #27961F
analogous
#521F96 #8E1F96 #961F63
triadic
#8E1F96 #968E1F #1F968E
tetradic
#8E1F96 #96521F #27961F #1F6396
square
#8E1F96 #96521F #27961F #1F6396
split-complementary
#8E1F96 #63961F #1F9652
monochromatic
#2E0A31 #5E1563 #8E1F96 #BE29C9 #D254DC

Accessibility & contrast

On white

7.54
#8E1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E1F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F96
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F96#FFFFFF#000000##FFFFFF
##8E1F961.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#91365B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1f96;
/* rgb */ color: rgb(142, 31, 150);
/* oklch */ color: oklch(47.3% 0.196 325.0);
Tailwind
colors: {
  custom: {
    50: '#b369b5',
    500: '#8e1f96',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f96;
$custom-light: #b369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f96",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 295.966,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.19586,
    "h": 325
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#8E1F96
secondary
#59BF52
accent
#E93F4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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