#8D2387#8D2387

#8D2387 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.180 H 330.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8D2387
RGBrgb(141, 35, 135)
HSLhsl(303, 60%, 35%)
HSVhsv(303, 75%, 55%)
CMYKcmyk(0%, 75.2%, 4.3%, 44.7%)
CIE-LABlab(35.23, 55.01, -32.04)
CIE-LCHlch(35.23, 63.66, 329.78°)
OKLaboklab(46.54% 0.1563 -0.0884)
OKLCHoklch(46.54% 0.18 330.5)
XYZxyz(15.9587, 8.6153, 23.7394)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2387 #238D29
analogous
#5E238D #8D2387 #8D2352
triadic
#8D2387 #878D23 #23878D
tetradic
#8D2387 #8D5E23 #238D29 #23528D
square
#8D2387 #8D5E23 #238D29 #23528D
split-complementary
#8D2387 #528D23 #238D5E
monochromatic
#2B0B29 #5C1758 #8D2387 #BE2FB6 #D555CE

Accessibility & contrast

On white

7.71
#8D2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2387
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2387#FFFFFF#000000##FFFFFF
##8D23871.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8A
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#933153
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2387;
/* rgb */ color: rgb(141, 35, 135);
/* oklch */ color: oklch(46.5% 0.180 330.5);
Tailwind
colors: {
  custom: {
    50: '#b26aaa',
    500: '#8d2387',
    950: '#000000',
  },
}
SCSS
$custom: #8d2387;
$custom-light: #b26aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2387",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 303.396,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.17952,
    "h": 330.5
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#8D2387
secondary
#53B959
accent
#E34D44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2387

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

Preview Lab → · Contrast checker → · Palette generator →

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