#8D3587#8D3587

#8D3587 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.4% C 0.156 H 330.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D3587
RGBrgb(141, 53, 135)
HSLhsl(304, 45%, 38%)
HSVhsv(304, 62%, 55%)
CMYKcmyk(0%, 62.4%, 4.3%, 44.7%)
CIE-LABlab(37.77, 47.89, -28.05)
CIE-LCHlch(37.77, 55.50, 329.65°)
OKLaboklab(48.37% 0.1358 -0.077)
OKLCHoklch(48.37% 0.156 330.4)
XYZxyz(16.6307, 9.9594, 23.9634)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3587 #358D3B
analogous
#67358D #8D3587 #8D355B
triadic
#8D3587 #878D35 #35878D
tetradic
#8D3587 #8D6735 #358D3B #355B8D
square
#8D3587 #8D6735 #358D3B #355B8D
split-complementary
#8D3587 #5B8D35 #358D67
monochromatic
#341432 #61245C #8D3587 #B946B2 #CA72C4

Accessibility & contrast

On white

7.02
#8D3587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D3587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3587
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3587#FFFFFF#000000##FFFFFF
##8D35871.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#4D5D85
Tritanopia (blue-blind)
#923E59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3587;
/* rgb */ color: rgb(141, 53, 135);
/* oklch */ color: oklch(48.4% 0.156 330.4);
Tailwind
colors: {
  custom: {
    50: '#b172aa',
    500: '#8d3587',
    950: '#000000',
  },
}
SCSS
$custom: #8d3587;
$custom-light: #b172aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3587",
  "rgb": {
    "r": 141,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 304.091,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.15611,
    "h": 330.4
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#8D3587
secondary
#6BB270
accent
#D55C53
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3587

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

Preview Lab → · Contrast checker → · Palette generator →

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