#9C36AA#9C36AA

#9C36AA is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.193 H 322.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9C36AA
RGBrgb(156, 54, 170)
HSLhsl(293, 52%, 44%)
HSVhsv(293, 68%, 67%)
CMYKcmyk(8.2%, 68.2%, 0%, 33.3%)
CIE-LABlab(42.17, 57.58, -42.09)
CIE-LCHlch(42.17, 71.32, 323.84°)
OKLaboklab(52.64% 0.1537 -0.1173)
OKLCHoklch(52.64% 0.193 322.6)
XYZxyz(22.2844, 12.6098, 39.2826)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36AA #44AA36
analogous
#6236AA #9C36AA #AA367E
triadic
#9C36AA #AA9C36 #36AA9C
tetradic
#9C36AA #AA6236 #44AA36 #367EAA
square
#9C36AA #AA6236 #44AA36 #367EAA
split-complementary
#9C36AA #7EAA36 #36AA62
monochromatic
#47184D #71277C #9C36AA #BB54C9 #CD83D8

Accessibility & contrast

On white

5.96
#9C36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9C36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36AA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36AA#FFFFFF#000000##FFFFFF
##9C36AA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#4767A7
Tritanopia (blue-blind)
#9E4A6C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c36aa;
/* rgb */ color: rgb(156, 54, 170);
/* oklch */ color: oklch(52.6% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#bd76c4',
    500: '#9c36aa',
    950: '#000000',
  },
}
SCSS
$custom: #9c36aa;
$custom-light: #bd76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36aa",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 292.759,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.19336,
    "h": 322.6
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#9C36AA
secondary
#83C17B
accent
#DB4D5E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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