#8D2E87#8D2E87

#8D2E87 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 330.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8D2E87
RGBrgb(141, 46, 135)
HSLhsl(304, 51%, 37%)
HSVhsv(304, 67%, 55%)
CMYKcmyk(0%, 67.4%, 4.3%, 44.7%)
CIE-LABlab(36.68, 50.91, -29.75)
CIE-LCHlch(36.68, 58.97, 329.70°)
OKLaboklab(47.58% 0.1445 -0.0819)
OKLCHoklch(47.58% 0.166 330.5)
XYZxyz(16.3346, 9.3672, 23.8647)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E87 #2E8D34
analogous
#642E8D #8D2E87 #8D2E58
triadic
#8D2E87 #878D2E #2E878D
tetradic
#8D2E87 #8D642E #2E8D34 #2E588D
square
#8D2E87 #8D642E #2E8D34 #2E588D
split-complementary
#8D2E87 #588D2E #2E8D64
monochromatic
#31102F #5F1F5B #8D2E87 #BB3DB3 #CE68C7

Accessibility & contrast

On white

7.31
#8D2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E87
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E87#FFFFFF#000000##FFFFFF
##8D2E871.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#923956
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2e87;
/* rgb */ color: rgb(141, 46, 135);
/* oklch */ color: oklch(47.6% 0.166 330.5);
Tailwind
colors: {
  custom: {
    50: '#b16faa',
    500: '#8d2e87',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e87;
$custom-light: #b16faa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e87",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 303.789,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.16606,
    "h": 330.5
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#8D2E87
secondary
#62B567
accent
#DA564E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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