#8D1996#8D1996

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

Color values

HEX#8D1996
RGBrgb(141, 25, 150)
HSLhsl(296, 71%, 34%)
HSVhsv(296, 83%, 59%)
CMYKcmyk(6%, 83.3%, 0%, 41.2%)
CIE-LABlab(35.13, 60.44, -41.43)
CIE-LCHlch(35.13, 73.28, 325.57°)
OKLaboklab(46.75% 0.1639 -0.1157)
OKLCHoklch(46.75% 0.201 324.8)
XYZxyz(16.8367, 8.5611, 29.6139)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1996 #229619
analogous
#4F1996 #8D1996 #961961
triadic
#8D1996 #968D19 #19968D
tetradic
#8D1996 #964F19 #229619 #196196
square
#8D1996 #964F19 #229619 #196196
split-complementary
#8D1996 #619619 #19964F
monochromatic
#2A082D #5C1062 #8D1996 #BE22CA #D649E1

Accessibility & contrast

On white

7.74
#8D1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1996
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1996#FFFFFF#000000##FFFFFF
##8D19961.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1996;
/* rgb */ color: rgb(141, 25, 150);
/* oklch */ color: oklch(46.8% 0.201 324.8);
Tailwind
colors: {
  custom: {
    50: '#b267b5',
    500: '#8d1996',
    950: '#000000',
  },
}
SCSS
$custom: #8d1996;
$custom-light: #b267b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1996",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 295.68,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4675,
    "c": 0.20058,
    "h": 324.8
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#8D1996
secondary
#51C249
accent
#EE3A47
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1996

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

Preview Lab → · Contrast checker → · Palette generator →

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