#8D3384#8D3384

#8D3384 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.0% C 0.157 H 331.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8D3384
RGBrgb(141, 51, 132)
HSLhsl(306, 47%, 38%)
HSVhsv(306, 64%, 55%)
CMYKcmyk(0%, 63.8%, 6.4%, 44.7%)
CIE-LABlab(37.29, 48.27, -26.94)
CIE-LCHlch(37.29, 55.28, 330.83°)
OKLaboklab(47.98% 0.138 -0.0738)
OKLCHoklch(47.98% 0.157 331.9)
XYZxyz(16.3332, 9.6975, 22.8369)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3384 #338D3C
analogous
#69338D #8D3384 #8D3357
triadic
#8D3384 #848D33 #33848D
tetradic
#8D3384 #8D6933 #338D3C #33578D
square
#8D3384 #8D6933 #338D3C #33578D
split-complementary
#8D3384 #578D33 #338D69
monochromatic
#331230 #60235A #8D3384 #BA43AE #CB6FC2

Accessibility & contrast

On white

7.14
#8D3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3384
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3384#FFFFFF#000000##FFFFFF
##8D33841.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5086
Deuteranopia (green-blind)
#4D5C82
Tritanopia (blue-blind)
#933B57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3384;
/* rgb */ color: rgb(141, 51, 132);
/* oklch */ color: oklch(48.0% 0.157 331.9);
Tailwind
colors: {
  custom: {
    50: '#b171a8',
    500: '#8d3384',
    950: '#000000',
  },
}
SCSS
$custom: #8d3384;
$custom-light: #b171a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3384",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 306,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.15653,
    "h": 331.9
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#8D3384
secondary
#69B370
accent
#D75F51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D3384

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

Preview Lab → · Contrast checker → · Palette generator →

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