#9D32BA#9D32BA

#9D32BA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.213 H 318.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9D32BA
RGBrgb(157, 50, 186)
HSLhsl(287, 58%, 46%)
HSVhsv(287, 73%, 73%)
CMYKcmyk(15.6%, 73.1%, 0%, 27.1%)
CIE-LABlab(42.76, 62.36, -50.59)
CIE-LCHlch(42.76, 80.30, 320.95°)
OKLaboklab(53.41% 0.1581 -0.1421)
OKLCHoklch(53.41% 0.213 318)
XYZxyz(23.9069, 12.9956, 47.6940)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32BA #4FBA32
analogous
#5932BA #9D32BA #BA3293
triadic
#9D32BA #BA9D32 #32BA9D
tetradic
#9D32BA #BA5932 #4FBA32 #3293BA
square
#9D32BA #BA5932 #4FBA32 #3293BA
split-complementary
#9D32BA #93BA32 #32BA59
monochromatic
#4C185A #74258A #9D32BA #B857D2 #CC88DF

Accessibility & contrast

On white

5.84
#9D32BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D32BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32BA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32BA#FFFFFF#000000##FFFFFF
##9D32BA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#3868B7
Tritanopia (blue-blind)
#9C4E73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d32ba;
/* rgb */ color: rgb(157, 50, 186);
/* oklch */ color: oklch(53.4% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#be74cf',
    500: '#9d32ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d32ba;
$custom-light: #be74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32ba",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 287.206,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.21258,
    "h": 318
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#9D32BA
secondary
#8FC97F
accent
#E14768
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D32BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D32BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva