#8D32A6#8D32A6

#8D32A6 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.188 H 318.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8D32A6
RGBrgb(141, 50, 166)
HSLhsl(287, 54%, 42%)
HSVhsv(287, 70%, 65%)
CMYKcmyk(15.1%, 69.9%, 0%, 34.9%)
CIE-LABlab(39.07, 55.03, -44.79)
CIE-LCHlch(39.07, 70.96, 320.86°)
OKLaboklab(49.88% 0.1401 -0.1256)
OKLCHoklch(49.88% 0.188 318.1)
XYZxyz(19.0071, 10.6979, 37.1327)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32A6 #4BA632
analogous
#5332A6 #8D32A6 #A63285
triadic
#8D32A6 #A68D32 #32A68D
tetradic
#8D32A6 #A65332 #4BA632 #3285A6
square
#8D32A6 #A65332 #4BA632 #3285A6
split-complementary
#8D32A6 #85A632 #32A653
monochromatic
#3D1648 #652477 #8D32A6 #AE4CC9 #C37BD7

Accessibility & contrast

On white

6.69
#8D32A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8D32A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32A6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32A6#FFFFFF#000000##FFFFFF
##8D32A61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#8C4868
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d32a6;
/* rgb */ color: rgb(141, 50, 166);
/* oklch */ color: oklch(49.9% 0.188 318.1);
Tailwind
colors: {
  custom: {
    50: '#b272c1',
    500: '#8d32a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d32a6;
$custom-light: #b272c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32a6",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 287.069,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.18818,
    "h": 318.1
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#8D32A6
secondary
#84C074
accent
#DD4B6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D32A6

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

Preview Lab → · Contrast checker → · Palette generator →

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