#8D3486#8D3486

#8D3486 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.157 H 330.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8D3486
RGBrgb(141, 52, 134)
HSLhsl(305, 46%, 38%)
HSVhsv(305, 63%, 55%)
CMYKcmyk(0%, 63.1%, 5%, 44.7%)
CIE-LABlab(37.56, 48.17, -27.77)
CIE-LCHlch(37.56, 55.60, 330.04°)
OKLaboklab(48.2% 0.137 -0.0762)
OKLCHoklch(48.2% 0.157 330.9)
XYZxyz(16.5155, 9.8411, 23.5793)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3486 #348D3B
analogous
#67348D #8D3486 #8D3459
triadic
#8D3486 #868D34 #34868D
tetradic
#8D3486 #8D6734 #348D3B #34598D
square
#8D3486 #8D6734 #348D3B #34598D
split-complementary
#8D3486 #598D34 #348D67
monochromatic
#341331 #60245C #8D3486 #BA44B0 #CB71C4

Accessibility & contrast

On white

7.08
#8D3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D3486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3486
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3486#FFFFFF#000000##FFFFFF
##8D34861.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#923D58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3486;
/* rgb */ color: rgb(141, 52, 134);
/* oklch */ color: oklch(48.2% 0.157 330.9);
Tailwind
colors: {
  custom: {
    50: '#b172a9',
    500: '#8d3486',
    950: '#000000',
  },
}
SCSS
$custom: #8d3486;
$custom-light: #b172a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3486",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 304.719,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.15674,
    "h": 330.9
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#8D3486
secondary
#6AB370
accent
#D65C52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3486

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

Preview Lab → · Contrast checker → · Palette generator →

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