#8D1D86#8D1D86

#8D1D86 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.185 H 330.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8D1D86
RGBrgb(141, 29, 134)
HSLhsl(304, 66%, 33%)
HSVhsv(304, 79%, 55%)
CMYKcmyk(0%, 79.4%, 5%, 44.7%)
CIE-LABlab(34.53, 56.71, -32.54)
CIE-LCHlch(34.53, 65.38, 330.15°)
OKLaboklab(46.01% 0.1616 -0.0898)
OKLCHoklch(46.01% 0.185 330.9)
XYZxyz(15.7269, 8.2640, 23.3164)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D86 #1D8D24
analogous
#5C1D8D #8D1D86 #8D1D4E
triadic
#8D1D86 #868D1D #1D868D
tetradic
#8D1D86 #8D5C1D #1D8D24 #1D4E8D
square
#8D1D86 #8D5C1D #1D8D24 #1D4E8D
split-complementary
#8D1D86 #4E8D1D #1D8D5C
monochromatic
#270826 #5A1356 #8D1D86 #C027B6 #DA4BD1

Accessibility & contrast

On white

7.92
#8D1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D86
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D86#FFFFFF#000000##FFFFFF
##8D1D861.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#425683
Tritanopia (blue-blind)
#932D51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1d86;
/* rgb */ color: rgb(141, 29, 134);
/* oklch */ color: oklch(46.0% 0.185 330.9);
Tailwind
colors: {
  custom: {
    50: '#b267a9',
    500: '#8d1d86',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d86;
$custom-light: #b267a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d86",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 303.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.18489,
    "h": 330.9
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#8D1D86
secondary
#4ABC51
accent
#E94A3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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