#8D3CA5#8D3CA5

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

Color values

HEX#8D3CA5
RGBrgb(141, 60, 165)
HSLhsl(286, 47%, 44%)
HSVhsv(286, 64%, 65%)
CMYKcmyk(14.5%, 63.6%, 0%, 35.3%)
CIE-LABlab(40.59, 50.41, -41.75)
CIE-LCHlch(40.59, 65.46, 320.37°)
OKLaboklab(50.96% 0.1286 -0.1168)
OKLCHoklch(50.96% 0.174 317.7)
XYZxyz(19.3909, 11.6118, 36.8099)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CA5 #54A53C
analogous
#593CA5 #8D3CA5 #A53C89
triadic
#8D3CA5 #A58D3C #3CA58D
tetradic
#8D3CA5 #A5593C #54A53C #3C89A5
square
#8D3CA5 #A5593C #54A53C #3C89A5
split-complementary
#8D3CA5 #89A53C #3CA559
monochromatic
#401B4B #672C78 #8D3CA5 #AB5BC3 #C288D4

Accessibility & contrast

On white

6.32
#8D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CA5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CA5#FFFFFF#000000##FFFFFF
##8D3CA51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5AA8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#8C4E6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3ca5;
/* rgb */ color: rgb(141, 60, 165);
/* oklch */ color: oklch(51.0% 0.174 317.7);
Tailwind
colors: {
  custom: {
    50: '#b177c0',
    500: '#8d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ca5;
$custom-light: #b177c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ca5",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 286.286,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.17371,
    "h": 317.7
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#8D3CA5
secondary
#8DBE7F
accent
#D65170
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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