#8D3786#8D3786

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

Color values

HEX#8D3786
RGBrgb(141, 55, 134)
HSLhsl(305, 44%, 38%)
HSVhsv(305, 61%, 55%)
CMYKcmyk(0%, 61%, 5%, 44.7%)
CIE-LABlab(38.05, 46.80, -26.99)
CIE-LCHlch(38.05, 54.03, 330.03°)
OKLaboklab(48.56% 0.1331 -0.074)
OKLCHoklch(48.56% 0.152 330.9)
XYZxyz(16.6537, 10.1175, 23.6254)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3786 #378D3E
analogous
#69378D #8D3786 #8D375B
triadic
#8D3786 #868D37 #37868D
tetradic
#8D3786 #8D6937 #378D3E #375B8D
square
#8D3786 #8D6937 #378D3E #375B8D
split-complementary
#8D3786 #5B8D37 #378D69
monochromatic
#351532 #61265C #8D3786 #B849AF #C975C2

Accessibility & contrast

On white

6.95
#8D3786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D3786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3786
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3786#FFFFFF#000000##FFFFFF
##8D37861.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#923F59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3786;
/* rgb */ color: rgb(141, 55, 134);
/* oklch */ color: oklch(48.6% 0.152 330.9);
Tailwind
colors: {
  custom: {
    50: '#b173a9',
    500: '#8d3786',
    950: '#000000',
  },
}
SCSS
$custom: #8d3786;
$custom-light: #b173a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3786",
  "rgb": {
    "r": 141,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 304.884,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.15224,
    "h": 330.9
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3786

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

Preview Lab → · Contrast checker → · Palette generator →

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