#8D1D7E#8D1D7E

#8D1D7E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.179 H 334.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8D1D7E
RGBrgb(141, 29, 126)
HSLhsl(308, 66%, 33%)
HSVhsv(308, 79%, 55%)
CMYKcmyk(0%, 79.4%, 10.6%, 44.7%)
CIE-LABlab(34.09, 55.45, -28.25)
CIE-LCHlch(34.09, 62.24, 333.00°)
OKLaboklab(45.56% 0.1614 -0.0774)
OKLCHoklch(45.56% 0.179 334.4)
XYZxyz(15.1899, 8.0492, 20.4883)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D7E #1D8D2C
analogous
#641D8D #8D1D7E #8D1D46
triadic
#8D1D7E #7E8D1D #1D7E8D
tetradic
#8D1D7E #8D641D #1D8D2C #1D468D
square
#8D1D7E #8D641D #1D8D2C #1D468D
split-complementary
#8D1D7E #468D1D #1D8D64
monochromatic
#270823 #5A1351 #8D1D7E #C027AB #DA4BC7

Accessibility & contrast

On white

8.05
#8D1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D1D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D7E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D7E#FFFFFF#000000##FFFFFF
##8D1D7E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4681
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#94284C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1d7e;
/* rgb */ color: rgb(141, 29, 126);
/* oklch */ color: oklch(45.6% 0.179 334.4);
Tailwind
colors: {
  custom: {
    50: '#b267a4',
    500: '#8d1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d7e;
$custom-light: #b267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d7e",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 308.036,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.17899,
    "h": 334.4
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#8D1D7E
secondary
#4ABC59
accent
#E9563F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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