#8D3787#8D3787

#8D3787 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.153 H 330.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D3787
RGBrgb(141, 55, 135)
HSLhsl(304, 44%, 38%)
HSVhsv(304, 61%, 55%)
CMYKcmyk(0%, 61%, 4.3%, 44.7%)
CIE-LABlab(38.10, 46.98, -27.52)
CIE-LCHlch(38.10, 54.45, 329.64°)
OKLaboklab(48.61% 0.1332 -0.0755)
OKLCHoklch(48.61% 0.153 330.4)
XYZxyz(16.7238, 10.1455, 23.9944)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3787 #378D3D
analogous
#68378D #8D3787 #8D375C
triadic
#8D3787 #878D37 #37878D
tetradic
#8D3787 #8D6837 #378D3D #375C8D
square
#8D3787 #8D6837 #378D3D #375C8D
split-complementary
#8D3787 #5C8D37 #378D68
monochromatic
#351533 #61265D #8D3787 #B849B0 #C975C3

Accessibility & contrast

On white

6.93
#8D3787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D3787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3787
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3787#FFFFFF#000000##FFFFFF
##8D37871.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#4E5E85
Tritanopia (blue-blind)
#923F5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3787;
/* rgb */ color: rgb(141, 55, 135);
/* oklch */ color: oklch(48.6% 0.153 330.4);
Tailwind
colors: {
  custom: {
    50: '#b173aa',
    500: '#8d3787',
    950: '#000000',
  },
}
SCSS
$custom: #8d3787;
$custom-light: #b173aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3787",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 304.186,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.1531,
    "h": 330.4
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#8D3787
secondary
#6EB273
accent
#D45D54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3787

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

Preview Lab → · Contrast checker → · Palette generator →

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