#8D2C87#8D2C87

#8D2C87 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 330.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8D2C87
RGBrgb(141, 44, 135)
HSLhsl(304, 52%, 36%)
HSVhsv(304, 69%, 55%)
CMYKcmyk(0%, 68.8%, 4.3%, 44.7%)
CIE-LABlab(36.39, 51.72, -30.21)
CIE-LCHlch(36.39, 59.89, 329.71°)
OKLaboklab(47.37% 0.1468 -0.0832)
OKLCHoklch(47.37% 0.169 330.5)
XYZxyz(16.2583, 9.2146, 23.8393)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C87 #2C8D32
analogous
#632C8D #8D2C87 #8D2C57
triadic
#8D2C87 #878D2C #2C878D
tetradic
#8D2C87 #8D632C #2C8D32 #2C578D
square
#8D2C87 #8D632C #2C8D32 #2C578D
split-complementary
#8D2C87 #578D2C #2C8D63
monochromatic
#300F2E #5E1D5A #8D2C87 #BC3BB4 #CF65C8

Accessibility & contrast

On white

7.39
#8D2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C87
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C87#FFFFFF#000000##FFFFFF
##8D2C871.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#485A85
Tritanopia (blue-blind)
#923756
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2c87;
/* rgb */ color: rgb(141, 44, 135);
/* oklch */ color: oklch(47.4% 0.169 330.5);
Tailwind
colors: {
  custom: {
    50: '#b16eaa',
    500: '#8d2c87',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c87;
$custom-light: #b16eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c87",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 303.711,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.16871,
    "h": 330.5
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#8D2C87
secondary
#60B565
accent
#DC554C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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