#8D1E86#8D1E86

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

Color values

HEX#8D1E86
RGBrgb(141, 30, 134)
HSLhsl(304, 65%, 34%)
HSVhsv(304, 79%, 55%)
CMYKcmyk(0%, 78.7%, 5%, 44.7%)
CIE-LABlab(34.63, 56.42, -32.38)
CIE-LCHlch(34.63, 65.05, 330.15°)
OKLaboklab(46.09% 0.1608 -0.0893)
OKLCHoklch(46.09% 0.184 330.9)
XYZxyz(15.7518, 8.3138, 23.3247)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E86 #1E8D25
analogous
#5C1E8D #8D1E86 #8D1E4E
triadic
#8D1E86 #868D1E #1E868D
tetradic
#8D1E86 #8D5C1E #1E8D25 #1E4E8D
square
#8D1E86 #8D5C1E #1E8D25 #1E4E8D
split-complementary
#8D1E86 #4E8D1E #1E8D5C
monochromatic
#280926 #5B1356 #8D1E86 #BF29B6 #D94CD0

Accessibility & contrast

On white

7.89
#8D1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E86
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E86#FFFFFF#000000##FFFFFF
##8D1E861.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#932D51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1e86;
/* rgb */ color: rgb(141, 30, 134);
/* oklch */ color: oklch(46.1% 0.184 330.9);
Tailwind
colors: {
  custom: {
    50: '#b268a9',
    500: '#8d1e86',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e86;
$custom-light: #b268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e86",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 303.784,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.18392,
    "h": 330.9
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#8D1E86
secondary
#4BBC52
accent
#E84B40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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