#8D1E87#8D1E87

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

Color values

HEX#8D1E87
RGBrgb(141, 30, 135)
HSLhsl(303, 65%, 34%)
HSVhsv(303, 79%, 55%)
CMYKcmyk(0%, 78.7%, 4.3%, 44.7%)
CIE-LABlab(34.68, 56.58, -32.91)
CIE-LCHlch(34.68, 65.45, 329.82°)
OKLaboklab(46.15% 0.1608 -0.0909)
OKLCHoklch(46.15% 0.185 330.5)
XYZxyz(15.8219, 8.3418, 23.6938)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E87 #1E8D24
analogous
#5B1E8D #8D1E87 #8D1E4F
triadic
#8D1E87 #878D1E #1E878D
tetradic
#8D1E87 #8D5B1E #1E8D24 #1E4F8D
square
#8D1E87 #8D5B1E #1E8D24 #1E4F8D
split-complementary
#8D1E87 #4F8D1E #1E8D5B
monochromatic
#280926 #5B1357 #8D1E87 #BF29B7 #D94CD1

Accessibility & contrast

On white

7.87
#8D1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E87
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E87#FFFFFF#000000##FFFFFF
##8D1E871.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#932E52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d1e87;
/* rgb */ color: rgb(141, 30, 135);
/* oklch */ color: oklch(46.1% 0.185 330.5);
Tailwind
colors: {
  custom: {
    50: '#b268aa',
    500: '#8d1e87',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e87;
$custom-light: #b268aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e87",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 303.243,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.18468,
    "h": 330.5
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#8D1E87
secondary
#4BBC51
accent
#E84940
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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