#8D2D87#8D2D87

#8D2D87 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.167 H 330.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8D2D87
RGBrgb(141, 45, 135)
HSLhsl(304, 52%, 36%)
HSVhsv(304, 68%, 55%)
CMYKcmyk(0%, 68.1%, 4.3%, 44.7%)
CIE-LABlab(36.54, 51.32, -29.98)
CIE-LCHlch(36.54, 59.43, 329.70°)
OKLaboklab(47.48% 0.1456 -0.0825)
OKLCHoklch(47.48% 0.167 330.5)
XYZxyz(16.2960, 9.2900, 23.8518)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D87 #2D8D33
analogous
#632D8D #8D2D87 #8D2D57
triadic
#8D2D87 #878D2D #2D878D
tetradic
#8D2D87 #8D632D #2D8D33 #2D578D
square
#8D2D87 #8D632D #2D8D33 #2D578D
split-complementary
#8D2D87 #578D2D #2D8D63
monochromatic
#300F2E #5F1E5B #8D2D87 #BB3CB3 #CE66C8

Accessibility & contrast

On white

7.35
#8D2D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D87
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D87#FFFFFF#000000##FFFFFF
##8D2D871.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#485B85
Tritanopia (blue-blind)
#923856
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2d87;
/* rgb */ color: rgb(141, 45, 135);
/* oklch */ color: oklch(47.5% 0.167 330.5);
Tailwind
colors: {
  custom: {
    50: '#b16eaa',
    500: '#8d2d87',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d87;
$custom-light: #b16eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d87",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 303.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.16739,
    "h": 330.5
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#8D2D87
secondary
#61B566
accent
#DB564D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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