#8D4C8A#8D4C8A

#8D4C8A is a mid, vivid purple. Relative luminance 0.127; OKLCH L 51.7% C 0.121 H 328.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8D4C8A
RGBrgb(141, 76, 138)
HSLhsl(303, 30%, 43%)
HSVhsv(303, 46%, 55%)
CMYKcmyk(0%, 46.1%, 2.1%, 44.7%)
CIE-LABlab(42.26, 36.85, -22.88)
CIE-LCHlch(42.26, 43.37, 328.16°)
OKLaboklab(51.73% 0.1033 -0.0624)
OKLCHoklch(51.73% 0.121 328.8)
XYZxyz(18.1561, 12.6675, 25.5286)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4C8A #4C8D4F
analogous
#6F4C8D #8D4C8A #8D4C6A
triadic
#8D4C8A #8A8D4C #4C8A8D
tetradic
#8D4C8A #8D6F4C #4C8D4F #4C6A8D
square
#8D4C8A #8D6F4C #4C8D4F #4C6A8D
split-complementary
#8D4C8A #6A8D4C #4C8D6F
monochromatic
#3D213C #653763 #8D4C8A #AE68AB #C390C1

Accessibility & contrast

On white

5.94
#8D4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4C8A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4C8A#FFFFFF#000000##FFFFFF
##8D4C8A1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#915264
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4c8a;
/* rgb */ color: rgb(141, 76, 138);
/* oklch */ color: oklch(51.7% 0.121 328.8);
Tailwind
colors: {
  custom: {
    50: '#b080ac',
    500: '#8d4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d4c8a;
$custom-light: #b080ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4c8a",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 302.769,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.12067,
    "h": 328.8
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#8D4C8A
secondary
#85AF87
accent
#C66662
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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