#8D3699#8D3699

#8D3699 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.171 H 322.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8D3699
RGBrgb(141, 54, 153)
HSLhsl(293, 48%, 41%)
HSVhsv(293, 65%, 60%)
CMYKcmyk(7.8%, 64.7%, 0%, 40%)
CIE-LABlab(38.90, 50.77, -37.23)
CIE-LCHlch(38.90, 62.96, 323.74°)
OKLaboklab(49.51% 0.1358 -0.1036)
OKLCHoklch(49.51% 0.171 322.6)
XYZxyz(18.0529, 10.6019, 31.2263)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3699 #429936
analogous
#5B3699 #8D3699 #993673
triadic
#8D3699 #998D36 #36998D
tetradic
#8D3699 #995B36 #429936 #367399
square
#8D3699 #995B36 #429936 #367399
split-complementary
#8D3699 #739936 #36995B
monochromatic
#3A163F #63266C #8D3699 #B24CC0 #C57AD0

Accessibility & contrast

On white

6.73
#8D3699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D3699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3699
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3699#FFFFFF#000000##FFFFFF
##8D36991.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#8F4663
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d3699;
/* rgb */ color: rgb(141, 54, 153);
/* oklch */ color: oklch(49.5% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#b173b7',
    500: '#8d3699',
    950: '#000000',
  },
}
SCSS
$custom: #8d3699;
$custom-light: #b173b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3699",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 292.727,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.17077,
    "h": 322.6
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#8D3699
secondary
#7BB972
accent
#D75061
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3699

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

Preview Lab → · Contrast checker → · Palette generator →

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