#9C36BB#9C36BB

#9C36BB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.208 H 317.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9C36BB
RGBrgb(156, 54, 187)
HSLhsl(286, 55%, 47%)
HSVhsv(286, 71%, 73%)
CMYKcmyk(16.6%, 71.1%, 0%, 26.7%)
CIE-LABlab(43.20, 60.83, -50.46)
CIE-LCHlch(43.20, 79.03, 320.32°)
OKLaboklab(53.71% 0.1528 -0.1418)
OKLCHoklch(53.71% 0.208 317.1)
XYZxyz(23.9978, 13.2951, 48.3062)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36BB #55BB36
analogous
#5936BB #9C36BB #BB3698
triadic
#9C36BB #BB9C36 #36BB9C
tetradic
#9C36BB #BB5936 #55BB36 #3698BB
square
#9C36BB #BB5936 #55BB36 #3698BB
split-complementary
#9C36BB #98BB36 #36BB59
monochromatic
#4D1B5C #74288C #9C36BB #B65ED0 #CB8DDE

Accessibility & contrast

On white

5.74
#9C36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9C36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36BB#FFFFFF#000000##FFFFFF
##9C36BB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#9B5175
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c36bb;
/* rgb */ color: rgb(156, 54, 187);
/* oklch */ color: oklch(53.7% 0.208 317.1);
Tailwind
colors: {
  custom: {
    50: '#bd76d0',
    500: '#9c36bb',
    950: '#000000',
  },
}
SCSS
$custom: #9c36bb;
$custom-light: #bd76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36bb",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 286.015,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.20849,
    "h": 317.1
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#9C36BB
secondary
#94C984
accent
#DF496C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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