#8D2B87#8D2B87

#8D2B87 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.170 H 330.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2B87
RGBrgb(141, 43, 135)
HSLhsl(304, 53%, 36%)
HSVhsv(304, 70%, 55%)
CMYKcmyk(0%, 69.5%, 4.3%, 44.7%)
CIE-LABlab(36.25, 52.11, -30.43)
CIE-LCHlch(36.25, 60.34, 329.72°)
OKLaboklab(47.27% 0.1479 -0.0838)
OKLCHoklch(47.27% 0.17 330.5)
XYZxyz(16.2215, 9.1410, 23.8270)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B87 #2B8D31
analogous
#622B8D #8D2B87 #8D2B56
triadic
#8D2B87 #878D2B #2B878D
tetradic
#8D2B87 #8D622B #2B8D31 #2B568D
square
#8D2B87 #8D622B #2B8D31 #2B568D
split-complementary
#8D2B87 #568D2B #2B8D62
monochromatic
#2F0E2D #5E1D5A #8D2B87 #BC39B4 #CF63C9

Accessibility & contrast

On white

7.43
#8D2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B87
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B87#FFFFFF#000000##FFFFFF
##8D2B871.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#923655
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2b87;
/* rgb */ color: rgb(141, 43, 135);
/* oklch */ color: oklch(47.3% 0.170 330.5);
Tailwind
colors: {
  custom: {
    50: '#b16daa',
    500: '#8d2b87',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b87;
$custom-light: #b16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b87",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 303.673,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.17,
    "h": 330.5
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#8D2B87
secondary
#5EB664
accent
#DD544B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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