#8E1996#8E1996

#8E1996 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.201 H 325.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8E1996
RGBrgb(142, 25, 150)
HSLhsl(296, 71%, 34%)
HSVhsv(296, 83%, 59%)
CMYKcmyk(5.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(35.30, 60.63, -41.14)
CIE-LCHlch(35.30, 73.28, 325.84°)
OKLaboklab(46.91% 0.165 -0.1148)
OKLCHoklch(46.91% 0.201 325.2)
XYZxyz(17.0076, 8.6492, 29.6219)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1996 #219619
analogous
#501996 #8E1996 #961960
triadic
#8E1996 #968E19 #19968E
tetradic
#8E1996 #965019 #219619 #196096
square
#8E1996 #965019 #219619 #196096
split-complementary
#8E1996 #609619 #199650
monochromatic
#2B082D #5C1062 #8E1996 #C022CA #D749E1

Accessibility & contrast

On white

7.69
#8E1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1996
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1996#FFFFFF#000000##FFFFFF
##8E19961.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#375893
Tritanopia (blue-blind)
#913359
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e1996;
/* rgb */ color: rgb(142, 25, 150);
/* oklch */ color: oklch(46.9% 0.201 325.2);
Tailwind
colors: {
  custom: {
    50: '#b367b5',
    500: '#8e1996',
    950: '#000000',
  },
}
SCSS
$custom: #8e1996;
$custom-light: #b367b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1996",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 296.16,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.20099,
    "h": 325.2
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#8E1996
secondary
#50C249
accent
#EE3A45
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1996

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

Preview Lab → · Contrast checker → · Palette generator →

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