#8D1D82#8D1D82

#8D1D82 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.182 H 332.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8D1D82
RGBrgb(141, 29, 130)
HSLhsl(306, 66%, 33%)
HSVhsv(306, 79%, 55%)
CMYKcmyk(0%, 79.4%, 7.8%, 44.7%)
CIE-LABlab(34.30, 56.07, -30.41)
CIE-LCHlch(34.30, 63.79, 331.53°)
OKLaboklab(45.78% 0.1616 -0.0836)
OKLCHoklch(45.78% 0.182 332.6)
XYZxyz(15.4532, 8.1545, 21.8749)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D82 #1D8D28
analogous
#601D8D #8D1D82 #8D1D4A
triadic
#8D1D82 #828D1D #1D828D
tetradic
#8D1D82 #8D601D #1D8D28 #1D4A8D
square
#8D1D82 #8D601D #1D8D28 #1D4A8D
split-complementary
#8D1D82 #4A8D1D #1D8D60
monochromatic
#270824 #5A1353 #8D1D82 #C027B1 #DA4BCC

Accessibility & contrast

On white

7.98
#8D1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D82
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D82#FFFFFF#000000##FFFFFF
##8D1D821.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#932A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1d82;
/* rgb */ color: rgb(141, 29, 130);
/* oklch */ color: oklch(45.8% 0.182 332.6);
Tailwind
colors: {
  custom: {
    50: '#b267a7',
    500: '#8d1d82',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d82;
$custom-light: #b267a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d82",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 305.893,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.18191,
    "h": 332.6
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#8D1D82
secondary
#4ABC55
accent
#E9503F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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