#8D1D84#8D1D84

#8D1D84 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.183 H 331.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8D1D84
RGBrgb(141, 29, 132)
HSLhsl(305, 66%, 33%)
HSVhsv(305, 79%, 55%)
CMYKcmyk(0%, 79.4%, 6.4%, 44.7%)
CIE-LABlab(34.41, 56.39, -31.48)
CIE-LCHlch(34.41, 64.58, 330.83°)
OKLaboklab(45.9% 0.1616 -0.0867)
OKLCHoklch(45.9% 0.183 331.8)
XYZxyz(15.5888, 8.2087, 22.5887)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D84 #1D8D26
analogous
#5E1D8D #8D1D84 #8D1D4C
triadic
#8D1D84 #848D1D #1D848D
tetradic
#8D1D84 #8D5E1D #1D8D26 #1D4C8D
square
#8D1D84 #8D5E1D #1D8D26 #1D4C8D
split-complementary
#8D1D84 #4C8D1D #1D8D5E
monochromatic
#270825 #5A1354 #8D1D84 #C027B4 #DA4BCE

Accessibility & contrast

On white

7.95
#8D1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D84
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D84#FFFFFF#000000##FFFFFF
##8D1D841.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#932B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1d84;
/* rgb */ color: rgb(141, 29, 132);
/* oklch */ color: oklch(45.9% 0.183 331.8);
Tailwind
colors: {
  custom: {
    50: '#b267a8',
    500: '#8d1d84',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d84;
$custom-light: #b267a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d84",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 304.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.18338,
    "h": 331.8
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#8D1D84
secondary
#4ABC53
accent
#E94D3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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