#9C32AB#9C32AB

#9C32AB is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.199 H 322.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9C32AB
RGBrgb(156, 50, 171)
HSLhsl(293, 55%, 43%)
HSVhsv(293, 71%, 67%)
CMYKcmyk(8.8%, 70.8%, 0%, 32.9%)
CIE-LABlab(41.67, 59.33, -43.47)
CIE-LCHlch(41.67, 73.55, 323.77°)
OKLaboklab(52.31% 0.1579 -0.1213)
OKLCHoklch(52.31% 0.199 322.5)
XYZxyz(22.2008, 12.2907, 39.7231)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C32AB #41AB32
analogous
#5F32AB #9C32AB #AB327D
triadic
#9C32AB #AB9C32 #32AB9C
tetradic
#9C32AB #AB5F32 #41AB32 #327DAB
square
#9C32AB #AB5F32 #41AB32 #327DAB
split-complementary
#9C32AB #7DAB32 #32AB5F
monochromatic
#46164C #71247C #9C32AB #BC4FCB #CE7ED9

Accessibility & contrast

On white

6.07
#9C32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C32AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C32AB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C32AB#FFFFFF#000000##FFFFFF
##9C32AB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035BAE
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#9E476B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c32ab;
/* rgb */ color: rgb(156, 50, 171);
/* oklch */ color: oklch(52.3% 0.199 322.5);
Tailwind
colors: {
  custom: {
    50: '#bd74c4',
    500: '#9c32ab',
    950: '#000000',
  },
}
SCSS
$custom: #9c32ab;
$custom-light: #bd74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c32ab",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 292.562,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.19915,
    "h": 322.5
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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