#8D32AB#8D32AB

#8D32AB is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.193 H 316.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8D32AB
RGBrgb(141, 50, 171)
HSLhsl(285, 55%, 43%)
HSVhsv(285, 71%, 67%)
CMYKcmyk(17.5%, 70.8%, 0%, 32.9%)
CIE-LABlab(39.39, 56.04, -47.26)
CIE-LCHlch(39.39, 73.30, 319.85°)
OKLaboklab(50.21% 0.1397 -0.1329)
OKLCHoklch(50.21% 0.193 316.4)
XYZxyz(19.4747, 10.8850, 39.5953)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32AB #50AB32
analogous
#5032AB #8D32AB #AB328C
triadic
#8D32AB #AB8D32 #32AB8D
tetradic
#8D32AB #AB5032 #50AB32 #328CAB
square
#8D32AB #AB5032 #50AB32 #328CAB
split-complementary
#8D32AB #8CAB32 #32AB50
monochromatic
#3F164C #66247C #8D32AB #AD4FCB #C37ED9

Accessibility & contrast

On white

6.61
#8D32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8D32AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32AB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32AB#FFFFFF#000000##FFFFFF
##8D32AB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#325FA8
Tritanopia (blue-blind)
#8B4A6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d32ab;
/* rgb */ color: rgb(141, 50, 171);
/* oklch */ color: oklch(50.2% 0.193 316.4);
Tailwind
colors: {
  custom: {
    50: '#b272c5',
    500: '#8d32ab',
    950: '#000000',
  },
}
SCSS
$custom: #8d32ab;
$custom-light: #b272c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32ab",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 285.124,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.19283,
    "h": 316.4
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#8D32AB
secondary
#89C277
accent
#DE4A6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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