#8D4A97#8D4A97

#8D4A97 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.1% C 0.137 H 322.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D4A97
RGBrgb(141, 74, 151)
HSLhsl(292, 34%, 44%)
HSVhsv(292, 51%, 59%)
CMYKcmyk(6.6%, 51%, 0%, 40.8%)
CIE-LABlab(42.45, 40.49, -30.42)
CIE-LCHlch(42.45, 50.65, 323.08°)
OKLaboklab(52.07% 0.1086 -0.084)
OKLCHoklch(52.07% 0.137 322.3)
XYZxyz(19.0186, 12.7955, 30.7401)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4A97 #54974A
analogous
#674A97 #8D4A97 #974A7B
triadic
#8D4A97 #978D4A #4A978D
tetradic
#8D4A97 #97674A #54974A #4A7B97
square
#8D4A97 #97674A #54974A #4A7B97
split-complementary
#8D4A97 #7B974A #4A9767
monochromatic
#402245 #67366E #8D4A97 #AB69B5 #C292CA

Accessibility & contrast

On white

5.90
#8D4A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D4A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4A97
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4A97#FFFFFF#000000##FFFFFF
##8D4A971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F9A
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#8F5469
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4a97;
/* rgb */ color: rgb(141, 74, 151);
/* oklch */ color: oklch(52.1% 0.137 322.3);
Tailwind
colors: {
  custom: {
    50: '#b07fb6',
    500: '#8d4a97',
    950: '#000000',
  },
}
SCSS
$custom: #8d4a97;
$custom-light: #b07fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4a97",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 292.208,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.13732,
    "h": 322.3
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#8D4A97
secondary
#8DB687
accent
#CA5D6C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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