#8D3CA1#8D3CA1

#8D3CA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.170 H 319.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8D3CA1
RGBrgb(141, 60, 161)
HSLhsl(288, 46%, 43%)
HSVhsv(288, 63%, 63%)
CMYKcmyk(12.4%, 62.7%, 0%, 36.9%)
CIE-LABlab(40.36, 49.60, -39.73)
CIE-LCHlch(40.36, 63.55, 321.30°)
OKLaboklab(50.71% 0.1285 -0.1109)
OKLCHoklch(50.71% 0.17 319.2)
XYZxyz(19.0326, 11.4685, 34.9224)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CA1 #50A13C
analogous
#5A3CA1 #8D3CA1 #A13C82
triadic
#8D3CA1 #A18D3C #3CA18D
tetradic
#8D3CA1 #A15A3C #50A13C #3C82A1
square
#8D3CA1 #A15A3C #50A13C #3C82A1
split-complementary
#8D3CA1 #82A13C #3CA15A
monochromatic
#3F1B48 #662B74 #8D3CA1 #AD59C1 #C386D2

Accessibility & contrast

On white

6.38
#8D3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D3CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CA1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CA1#FFFFFF#000000##FFFFFF
##8D3CA11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#8D4D69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3ca1;
/* rgb */ color: rgb(141, 60, 161);
/* oklch */ color: oklch(50.7% 0.170 319.2);
Tailwind
colors: {
  custom: {
    50: '#b177bd',
    500: '#8d3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ca1;
$custom-light: #b177bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ca1",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 288.119,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.16977,
    "h": 319.2
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#8D3CA1
secondary
#89BC7D
accent
#D5526C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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