#8D4E87#8D4E87

#8D4E87 is a mid, moderate purple. Relative luminance 0.129; OKLCH L 51.9% C 0.114 H 330.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D4E87
RGBrgb(141, 78, 135)
HSLhsl(306, 29%, 43%)
HSVhsv(306, 45%, 55%)
CMYKcmyk(0%, 44.7%, 4.3%, 44.7%)
CIE-LABlab(42.55, 35.18, -20.60)
CIE-LCHlch(42.55, 40.77, 329.64°)
OKLaboklab(51.91% 0.0995 -0.056)
OKLCHoklch(51.91% 0.114 330.6)
XYZxyz(18.0819, 12.8617, 24.4471)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E87 #4E8D54
analogous
#734E8D #8D4E87 #8D4E67
triadic
#8D4E87 #878D4E #4E878D
tetradic
#8D4E87 #8D734E #4E8D54 #4E678D
square
#8D4E87 #8D734E #4E8D54 #4E678D
split-complementary
#8D4E87 #678D4E #4E8D73
monochromatic
#3E223C #663861 #8D4E87 #AD6BA7 #C392BE

Accessibility & contrast

On white

5.88
#8D4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8D4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E87
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E87#FFFFFF#000000##FFFFFF
##8D4E871.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#5C6885
Tritanopia (blue-blind)
#915364
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4e87;
/* rgb */ color: rgb(141, 78, 135);
/* oklch */ color: oklch(51.9% 0.114 330.6);
Tailwind
colors: {
  custom: {
    50: '#b081aa',
    500: '#8d4e87',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e87;
$custom-light: #b081aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e87",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 305.714,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.11414,
    "h": 330.6
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#8D4E87
secondary
#87AF8B
accent
#C56C63
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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