#8D1D96#8D1D96

#8D1D96 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 47.0% C 0.197 H 324.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8D1D96
RGBrgb(141, 29, 150)
HSLhsl(296, 68%, 35%)
HSVhsv(296, 81%, 59%)
CMYKcmyk(6%, 80.7%, 0%, 41.2%)
CIE-LABlab(35.49, 59.39, -40.85)
CIE-LCHlch(35.49, 72.08, 325.48°)
OKLaboklab(47.01% 0.161 -0.114)
OKLCHoklch(47.01% 0.197 324.7)
XYZxyz(16.9285, 8.7446, 29.6445)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D96 #26961D
analogous
#501D96 #8D1D96 #961D63
triadic
#8D1D96 #968D1D #1D968D
tetradic
#8D1D96 #96501D #26961D #1D6396
square
#8D1D96 #96501D #26961D #1D6396
split-complementary
#8D1D96 #63961D #1D9650
monochromatic
#2D092F #5D1363 #8D1D96 #BD27C9 #D350DD

Accessibility & contrast

On white

7.64
#8D1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D96
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D96#FFFFFF#000000##FFFFFF
##8D1D961.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#90355A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1d96;
/* rgb */ color: rgb(141, 29, 150);
/* oklch */ color: oklch(47.0% 0.197 324.7);
Tailwind
colors: {
  custom: {
    50: '#b268b5',
    500: '#8d1d96',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d96;
$custom-light: #b268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d96",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 295.537,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.19724,
    "h": 324.7
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#8D1D96
secondary
#57C04F
accent
#EA3D4A
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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