#9A32AB#9A32AB

#9A32AB is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.198 H 321.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9A32AB
RGBrgb(154, 50, 171)
HSLhsl(292, 55%, 43%)
HSVhsv(292, 71%, 67%)
CMYKcmyk(9.9%, 70.8%, 0%, 32.9%)
CIE-LABlab(41.36, 58.89, -43.98)
CIE-LCHlch(41.36, 73.50, 323.24°)
OKLaboklab(52.02% 0.1556 -0.1229)
OKLCHoklch(52.02% 0.198 321.7)
XYZxyz(21.8169, 12.0927, 39.7051)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A32AB #43AB32
analogous
#5D32AB #9A32AB #AB327F
triadic
#9A32AB #AB9A32 #32AB9A
tetradic
#9A32AB #AB5D32 #43AB32 #327FAB
square
#9A32AB #AB5D32 #43AB32 #327FAB
split-complementary
#9A32AB #7FAB32 #32AB5D
monochromatic
#45164C #6F247C #9A32AB #BA4FCB #CC7ED9

Accessibility & contrast

On white

6.14
#9A32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A32AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A32AB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A32AB#FFFFFF#000000##FFFFFF
##9A32AB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#9C486B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a32ab;
/* rgb */ color: rgb(154, 50, 171);
/* oklch */ color: oklch(52.0% 0.198 321.7);
Tailwind
colors: {
  custom: {
    50: '#bb73c4',
    500: '#9a32ab',
    950: '#000000',
  },
}
SCSS
$custom: #9a32ab;
$custom-light: #bb73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a32ab",
  "rgb": {
    "r": 154,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 291.57,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.19825,
    "h": 321.7
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#9A32AB
secondary
#81C277
accent
#DE4A5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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