#9C36AC#9C36AC

#9C36AC is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.195 H 322.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9C36AC
RGBrgb(156, 54, 172)
HSLhsl(292, 52%, 44%)
HSVhsv(292, 69%, 67%)
CMYKcmyk(9.3%, 68.6%, 0%, 32.5%)
CIE-LABlab(42.29, 57.96, -43.09)
CIE-LCHlch(42.29, 72.22, 323.37°)
OKLaboklab(52.76% 0.1537 -0.1202)
OKLCHoklch(52.76% 0.195 322)
XYZxyz(22.4751, 12.6860, 40.2865)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36AC #46AC36
analogous
#6136AC #9C36AC #AC3681
triadic
#9C36AC #AC9C36 #36AC9C
tetradic
#9C36AC #AC6136 #46AC36 #3681AC
square
#9C36AC #AC6136 #46AC36 #3681AC
split-complementary
#9C36AC #81AC36 #36AC61
monochromatic
#48194F #72277D #9C36AC #BA55CA #CD84D8

Accessibility & contrast

On white

5.94
#9C36AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C36AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36AC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36AC#FFFFFF#000000##FFFFFF
##9C36AC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAF
Deuteranopia (green-blind)
#4568A9
Tritanopia (blue-blind)
#9E4A6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c36ac;
/* rgb */ color: rgb(156, 54, 172);
/* oklch */ color: oklch(52.8% 0.195 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd76c5',
    500: '#9c36ac',
    950: '#000000',
  },
}
SCSS
$custom: #9c36ac;
$custom-light: #bd76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36ac",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 291.864,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.19511,
    "h": 322
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#9C36AC
secondary
#85C27C
accent
#DC4C60
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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