#9A32AC#9A32AC

#9A32AC is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.199 H 321.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9A32AC
RGBrgb(154, 50, 172)
HSLhsl(291, 55%, 44%)
HSVhsv(291, 71%, 67%)
CMYKcmyk(10.5%, 70.9%, 0%, 32.5%)
CIE-LABlab(41.42, 59.07, -44.48)
CIE-LCHlch(41.42, 73.95, 323.02°)
OKLaboklab(52.08% 0.1555 -0.1243)
OKLCHoklch(52.08% 0.199 321.4)
XYZxyz(21.9126, 12.1310, 40.2090)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A32AC #44AC32
analogous
#5D32AC #9A32AC #AC3281
triadic
#9A32AC #AC9A32 #32AC9A
tetradic
#9A32AC #AC5D32 #44AC32 #3281AC
square
#9A32AC #AC5D32 #44AC32 #3281AC
split-complementary
#9A32AC #81AC32 #32AC5D
monochromatic
#45164D #70247D #9A32AC #BA4FCC #CC7FDA

Accessibility & contrast

On white

6.13
#9A32AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9A32AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A32AC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A32AC#FFFFFF#000000##FFFFFF
##9A32AC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4166A9
Tritanopia (blue-blind)
#9B486C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a32ac;
/* rgb */ color: rgb(154, 50, 172);
/* oklch */ color: oklch(52.1% 0.199 321.4);
Tailwind
colors: {
  custom: {
    50: '#bb74c5',
    500: '#9a32ac',
    950: '#000000',
  },
}
SCSS
$custom: #9a32ac;
$custom-light: #bb74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a32ac",
  "rgb": {
    "r": 154,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 291.148,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.19912,
    "h": 321.4
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#9A32AC
secondary
#82C377
accent
#DE4A5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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