#8D32B5#8D32B5

#8D32B5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.202 H 313.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D32B5
RGBrgb(141, 50, 181)
HSLhsl(282, 57%, 45%)
HSVhsv(282, 72%, 71%)
CMYKcmyk(22.1%, 72.4%, 0%, 29%)
CIE-LABlab(40.05, 58.09, -52.12)
CIE-LCHlch(40.05, 78.04, 318.10°)
OKLaboklab(50.89% 0.1387 -0.1471)
OKLCHoklch(50.89% 0.202 313.3)
XYZxyz(20.4641, 11.2808, 44.8065)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32B5 #5AB532
analogous
#4B32B5 #8D32B5 #B5329C
triadic
#8D32B5 #B58D32 #32B58D
tetradic
#8D32B5 #B54B32 #5AB532 #329CB5
square
#8D32B5 #B54B32 #5AB532 #329CB5
split-complementary
#8D32B5 #9CB532 #32B54B
monochromatic
#421855 #682585 #8D32B5 #AA54D0 #C284DD

Accessibility & contrast

On white

6.45
#8D32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D32B5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32B5#FFFFFF#000000##FFFFFF
##8D32B51.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#2760B2
Tritanopia (blue-blind)
#894E71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d32b5;
/* rgb */ color: rgb(141, 50, 181);
/* oklch */ color: oklch(50.9% 0.202 313.3);
Tailwind
colors: {
  custom: {
    50: '#b272cc',
    500: '#8d32b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d32b5;
$custom-light: #b272cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32b5",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 281.679,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.20219,
    "h": 313.3
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#8D32B5
secondary
#93C77C
accent
#E04876
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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