#8D3597#8D3597

#8D3597 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.170 H 323.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D3597
RGBrgb(141, 53, 151)
HSLhsl(294, 48%, 40%)
HSVhsv(294, 65%, 59%)
CMYKcmyk(6.6%, 64.9%, 0%, 40.8%)
CIE-LABlab(38.63, 50.83, -36.46)
CIE-LCHlch(38.63, 62.55, 324.35°)
OKLaboklab(49.27% 0.1369 -0.1013)
OKLCHoklch(49.27% 0.17 323.5)
XYZxyz(17.8430, 10.4443, 30.3483)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3597 #3F9735
analogous
#5C3597 #8D3597 #973570
triadic
#8D3597 #978D35 #35978D
tetradic
#8D3597 #975C35 #3F9735 #357097
square
#8D3597 #975C35 #3F9735 #357097
split-complementary
#8D3597 #709735 #35975C
monochromatic
#38153C #63256A #8D3597 #B34ABF #C677CF

Accessibility & contrast

On white

6.80
#8D3597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D3597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3597
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3597#FFFFFF#000000##FFFFFF
##8D35971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#445F94
Tritanopia (blue-blind)
#8F4461
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3597;
/* rgb */ color: rgb(141, 53, 151);
/* oklch */ color: oklch(49.3% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#b173b6',
    500: '#8d3597',
    950: '#000000',
  },
}
SCSS
$custom: #8d3597;
$custom-light: #b173b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3597",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 293.878,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.17034,
    "h": 323.5
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#8D3597
secondary
#77B870
accent
#D8505E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3597

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

Preview Lab → · Contrast checker → · Palette generator →

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