#8D2987#8D2987

#8D2987 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 330.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8D2987
RGBrgb(141, 41, 135)
HSLhsl(304, 55%, 36%)
HSVhsv(304, 71%, 55%)
CMYKcmyk(0%, 70.9%, 4.3%, 44.7%)
CIE-LABlab(35.98, 52.88, -30.86)
CIE-LCHlch(35.98, 61.22, 329.73°)
OKLaboklab(47.08% 0.1501 -0.085)
OKLCHoklch(47.08% 0.173 330.5)
XYZxyz(16.1506, 8.9991, 23.8033)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2987 #298D2F
analogous
#61298D #8D2987 #8D2955
triadic
#8D2987 #878D29 #29878D
tetradic
#8D2987 #8D6129 #298D2F #29558D
square
#8D2987 #8D6129 #298D2F #29558D
split-complementary
#8D2987 #558D29 #298D61
monochromatic
#2E0D2C #5E1B5A #8D2987 #BC37B4 #D160CA

Accessibility & contrast

On white

7.50
#8D2987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2987
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2987#FFFFFF#000000##FFFFFF
##8D29871.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#923555
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2987;
/* rgb */ color: rgb(141, 41, 135);
/* oklch */ color: oklch(47.1% 0.173 330.5);
Tailwind
colors: {
  custom: {
    50: '#b26caa',
    500: '#8d2987',
    950: '#000000',
  },
}
SCSS
$custom: #8d2987;
$custom-light: #b26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2987",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 303.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.17252,
    "h": 330.5
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#8D2987
secondary
#5BB661
accent
#DE524A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2987

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

Preview Lab → · Contrast checker → · Palette generator →

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