#8D3CA6#8D3CA6

#8D3CA6 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 317.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8D3CA6
RGBrgb(141, 60, 166)
HSLhsl(286, 47%, 44%)
HSVhsv(286, 64%, 65%)
CMYKcmyk(15.1%, 63.9%, 0%, 34.9%)
CIE-LABlab(40.65, 50.62, -42.25)
CIE-LCHlch(40.65, 65.94, 320.15°)
OKLaboklab(51.02% 0.1286 -0.1183)
OKLCHoklch(51.02% 0.175 317.4)
XYZxyz(19.4823, 11.6484, 37.2911)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CA6 #55A63C
analogous
#583CA6 #8D3CA6 #A63C8A
triadic
#8D3CA6 #A68D3C #3CA68D
tetradic
#8D3CA6 #A6583C #55A63C #3C8AA6
square
#8D3CA6 #A6583C #55A63C #3C8AA6
split-complementary
#8D3CA6 #8AA63C #3CA658
monochromatic
#411C4C #672C79 #8D3CA6 #AB5BC4 #C288D4

Accessibility & contrast

On white

6.31
#8D3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8D3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CA6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CA6#FFFFFF#000000##FFFFFF
##8D3CA61.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BA9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#8C4F6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3ca6;
/* rgb */ color: rgb(141, 60, 166);
/* oklch */ color: oklch(51.0% 0.175 317.4);
Tailwind
colors: {
  custom: {
    50: '#b177c1',
    500: '#8d3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ca6;
$custom-light: #b177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ca6",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 285.849,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.17469,
    "h": 317.4
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#8D3CA6
secondary
#8EBE7F
accent
#D75171
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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