#8D4C97#8D4C97

#8D4C97 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.134 H 322.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D4C97
RGBrgb(141, 76, 151)
HSLhsl(292, 33%, 45%)
HSVhsv(292, 50%, 59%)
CMYKcmyk(6.6%, 49.7%, 0%, 40.8%)
CIE-LABlab(42.86, 39.42, -29.78)
CIE-LCHlch(42.86, 49.40, 322.93°)
OKLaboklab(52.38% 0.1057 -0.0822)
OKLCHoklch(52.38% 0.134 322.1)
XYZxyz(19.1543, 13.0668, 30.7854)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4C97 #56974C
analogous
#684C97 #8D4C97 #974C7C
triadic
#8D4C97 #978D4C #4C978D
tetradic
#8D4C97 #97684C #56974C #4C7C97
square
#8D4C97 #97684C #56974C #4C7C97
split-complementary
#8D4C97 #7C974C #4C9768
monochromatic
#412346 #67386E #8D4C97 #AB6BB5 #C294C9

Accessibility & contrast

On white

5.81
#8D4C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D4C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4C97
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4C97#FFFFFF#000000##FFFFFF
##8D4C971.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41609A
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#8F566A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d4c97;
/* rgb */ color: rgb(141, 76, 151);
/* oklch */ color: oklch(52.4% 0.134 322.1);
Tailwind
colors: {
  custom: {
    50: '#b080b6',
    500: '#8d4c97',
    950: '#000000',
  },
}
SCSS
$custom: #8d4c97;
$custom-light: #b080b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4c97",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 292,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.13386,
    "h": 322.1
  },
  "luminance": 0.13066
}

Semantic roles & 50–950 ramp

primary
#8D4C97
secondary
#8FB689
accent
#C95F6D
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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