#8D3496#8D3496

#8D3496 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 323.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D3496
RGBrgb(141, 52, 150)
HSLhsl(294, 49%, 40%)
HSVhsv(294, 65%, 59%)
CMYKcmyk(6%, 65.3%, 0%, 41.2%)
CIE-LABlab(38.41, 51.08, -36.19)
CIE-LCHlch(38.41, 62.60, 324.68°)
OKLaboklab(49.1% 0.1381 -0.1006)
OKLCHoklch(49.1% 0.171 323.9)
XYZxyz(17.7170, 10.3217, 29.9073)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3496 #3D9634
analogous
#5C3496 #8D3496 #96346E
triadic
#8D3496 #968D34 #34968D
tetradic
#8D3496 #965C34 #3D9634 #346E96
square
#8D3496 #965C34 #3D9634 #346E96
split-complementary
#8D3496 #6E9634 #34965C
monochromatic
#38143B #622469 #8D3496 #B448BF #C775CF

Accessibility & contrast

On white

6.85
#8D3496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D3496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3496
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3496#FFFFFF#000000##FFFFFF
##8D34961.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#904360
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3496;
/* rgb */ color: rgb(141, 52, 150);
/* oklch */ color: oklch(49.1% 0.171 323.9);
Tailwind
colors: {
  custom: {
    50: '#b172b5',
    500: '#8d3496',
    950: '#000000',
  },
}
SCSS
$custom: #8d3496;
$custom-light: #b172b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3496",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 294.49,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.491,
    "c": 0.17082,
    "h": 323.9
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#8D3496
secondary
#75B86E
accent
#D8505C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3496

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

Preview Lab → · Contrast checker → · Palette generator →

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