#9D32AC#9D32AC

#9D32AC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.200 H 322.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9D32AC
RGBrgb(157, 50, 172)
HSLhsl(293, 55%, 44%)
HSVhsv(293, 71%, 67%)
CMYKcmyk(8.7%, 70.9%, 0%, 32.5%)
CIE-LABlab(41.89, 59.74, -43.71)
CIE-LCHlch(41.89, 74.02, 323.81°)
OKLaboklab(52.51% 0.1591 -0.122)
OKLCHoklch(52.51% 0.2 322.5)
XYZxyz(22.4909, 12.4291, 40.2361)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32AC #41AC32
analogous
#6032AC #9D32AC #AC327E
triadic
#9D32AC #AC9D32 #32AC9D
tetradic
#9D32AC #AC6032 #41AC32 #327EAC
square
#9D32AC #AC6032 #41AC32 #327EAC
split-complementary
#9D32AC #7EAC32 #32AC60
monochromatic
#46164D #72247D #9D32AC #BD4FCC #CF7FDA

Accessibility & contrast

On white

6.02
#9D32AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9D32AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32AC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32AC#FFFFFF#000000##FFFFFF
##9D32AC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#9F486C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d32ac;
/* rgb */ color: rgb(157, 50, 172);
/* oklch */ color: oklch(52.5% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#bd74c5',
    500: '#9d32ac',
    950: '#000000',
  },
}
SCSS
$custom: #9d32ac;
$custom-light: #bd74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32ac",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 292.623,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.20045,
    "h": 322.5
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#9D32AC
secondary
#80C377
accent
#DE4A5C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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