#8D3C97#8D3C97

#8D3C97 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.1% C 0.160 H 323.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8D3C97
RGBrgb(141, 60, 151)
HSLhsl(293, 43%, 41%)
HSVhsv(293, 60%, 59%)
CMYKcmyk(6.6%, 60.3%, 0%, 40.8%)
CIE-LABlab(39.80, 47.61, -34.60)
CIE-LCHlch(39.80, 58.85, 323.99°)
OKLaboklab(50.12% 0.1281 -0.096)
OKLCHoklch(50.12% 0.16 323.1)
XYZxyz(18.1857, 11.1298, 30.4625)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3C97 #46973C
analogous
#603C97 #8D3C97 #973C74
triadic
#8D3C97 #978D3C #3C978D
tetradic
#8D3C97 #97603C #46973C #3C7497
square
#8D3C97 #97603C #46973C #3C7497
split-complementary
#8D3C97 #74973C #3C9760
monochromatic
#3B193F #642B6B #8D3C97 #B055BB #C481CD

Accessibility & contrast

On white

6.51
#8D3C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8D3C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3C97
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3C97#FFFFFF#000000##FFFFFF
##8D3C971.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#8F4964
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d3c97;
/* rgb */ color: rgb(141, 60, 151);
/* oklch */ color: oklch(50.1% 0.160 323.1);
Tailwind
colors: {
  custom: {
    50: '#b177b6',
    500: '#8d3c97',
    950: '#000000',
  },
}
SCSS
$custom: #8d3c97;
$custom-light: #b177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3c97",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 293.407,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.16007,
    "h": 323.1
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#8D3C97
secondary
#7FB778
accent
#D35563
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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