#8D4C8D#8D4C8D

#8D4C8D is a mid, vivid purple. Relative luminance 0.128; OKLCH L 51.9% C 0.124 H 327.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D4C8D
RGBrgb(141, 76, 141)
HSLhsl(300, 30%, 43%)
HSVhsv(300, 46%, 55%)
CMYKcmyk(0%, 46.1%, 0%, 44.7%)
CIE-LABlab(42.39, 37.43, -24.49)
CIE-LCHlch(42.39, 44.73, 326.80°)
OKLaboklab(51.87% 0.1039 -0.067)
OKLCHoklch(51.87% 0.124 327.2)
XYZxyz(18.3763, 12.7556, 26.6883)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4C8D #4C8D4C
analogous
#6C4C8D #8D4C8D #8D4C6C
triadic
#8D4C8D #8D8D4C #4C8D8D
tetradic
#8D4C8D #8D6C4C #4C8D4C #4C6C8D
square
#8D4C8D #8D6C4C #4C8D4C #4C6C8D
split-complementary
#8D4C8D #6C8D4C #4C8D6C
monochromatic
#3D213D #653765 #8D4C8D #AE68AE #C390C3

Accessibility & contrast

On white

5.91
#8D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8D4C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4C8D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4C8D#FFFFFF#000000##FFFFFF
##8D4C8D1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F8F
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#915366
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4c8d;
/* rgb */ color: rgb(141, 76, 141);
/* oklch */ color: oklch(51.9% 0.124 327.2);
Tailwind
colors: {
  custom: {
    50: '#b080ae',
    500: '#8d4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d4c8d;
$custom-light: #b080ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4c8d",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.12362,
    "h": 327.2
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#8D4C8D
secondary
#85AF85
accent
#C66262
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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