#8D3AA2#8D3AA2

#8D3AA2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.174 H 319.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8D3AA2
RGBrgb(141, 58, 162)
HSLhsl(288, 47%, 43%)
HSVhsv(288, 64%, 64%)
CMYKcmyk(13%, 64.2%, 0%, 36.5%)
CIE-LABlab(40.08, 50.73, -40.78)
CIE-LCHlch(40.08, 65.09, 321.21°)
OKLaboklab(50.53% 0.131 -0.114)
OKLCHoklch(50.53% 0.174 319)
XYZxyz(19.0183, 11.2983, 35.3544)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AA2 #4FA23A
analogous
#593AA2 #8D3AA2 #A23A83
triadic
#8D3AA2 #A28D3A #3AA28D
tetradic
#8D3AA2 #A2593A #4FA23A #3A83A2
square
#8D3AA2 #A2593A #4FA23A #3A83A2
split-complementary
#8D3AA2 #83A23A #3AA259
monochromatic
#3F1A48 #662A75 #8D3AA2 #AD57C3 #C384D3

Accessibility & contrast

On white

6.44
#8D3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D3AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AA2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AA2#FFFFFF#000000##FFFFFF
##8D3AA21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A5
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#8D4C69
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d3aa2;
/* rgb */ color: rgb(141, 58, 162);
/* oklch */ color: oklch(50.5% 0.174 319.0);
Tailwind
colors: {
  custom: {
    50: '#b176be',
    500: '#8d3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3aa2;
$custom-light: #b176be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3aa2",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 287.885,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.17363,
    "h": 319
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#8D3AA2
secondary
#88BD7B
accent
#D7516C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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