#8D2487#8D2487

#8D2487 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 330.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8D2487
RGBrgb(141, 36, 135)
HSLhsl(303, 59%, 35%)
HSVhsv(303, 74%, 55%)
CMYKcmyk(0%, 74.5%, 4.3%, 44.7%)
CIE-LABlab(35.35, 54.67, -31.85)
CIE-LCHlch(35.35, 63.27, 329.77°)
OKLaboklab(46.62% 0.1553 -0.0879)
OKLCHoklch(46.62% 0.178 330.5)
XYZxyz(15.9885, 8.6750, 23.7493)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2487 #248D2A
analogous
#5F248D #8D2487 #8D2452
triadic
#8D2487 #878D24 #24878D
tetradic
#8D2487 #8D5F24 #248D2A #24528D
square
#8D2487 #8D5F24 #248D2A #24528D
split-complementary
#8D2487 #528D24 #248D5F
monochromatic
#2B0B2A #5C1858 #8D2487 #BE30B6 #D457CD

Accessibility & contrast

On white

7.68
#8D2487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D2487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2487
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2487#FFFFFF#000000##FFFFFF
##8D24871.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2487;
/* rgb */ color: rgb(141, 36, 135);
/* oklch */ color: oklch(46.6% 0.178 330.5);
Tailwind
colors: {
  custom: {
    50: '#b26aaa',
    500: '#8d2487',
    950: '#000000',
  },
}
SCSS
$custom: #8d2487;
$custom-light: #b26aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2487",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 303.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.17841,
    "h": 330.5
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#8D2487
secondary
#54B85A
accent
#E34E45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2487

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

Preview Lab → · Contrast checker → · Palette generator →

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