#9C36CA#9C36CA

#9C36CA is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.222 H 312.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9C36CA
RGBrgb(156, 54, 202)
HSLhsl(281, 58%, 50%)
HSVhsv(281, 73%, 79%)
CMYKcmyk(22.8%, 73.3%, 0%, 20.8%)
CIE-LABlab(44.19, 63.83, -57.61)
CIE-LCHlch(44.19, 85.98, 317.93°)
OKLaboklab(54.73% 0.1511 -0.1628)
OKLCHoklch(54.73% 0.222 312.9)
XYZxyz(25.6882, 13.9713, 57.2092)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36CA #64CA36
analogous
#5236CA #9C36CA #CA36AE
triadic
#9C36CA #CA9C36 #36CA9C
tetradic
#9C36CA #CA5236 #64CA36 #36AECA
square
#9C36CA #CA5236 #64CA36 #36AECA
split-complementary
#9C36CA #AECA36 #36CA52
monochromatic
#521C6A #77299A #9C36CA #B466D7 #CC97E4

Accessibility & contrast

On white

5.53
#9C36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9C36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36CA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36CA#FFFFFF#000000##FFFFFF
##9C36CA1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#97577D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9c36ca;
/* rgb */ color: rgb(156, 54, 202);
/* oklch */ color: oklch(54.7% 0.222 312.9);
Tailwind
colors: {
  custom: {
    50: '#be77db',
    500: '#9c36ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c36ca;
$custom-light: #be77db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36ca",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 281.351,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.22212,
    "h": 312.9
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#9C36CA
secondary
#A1CF8D
accent
#E14677
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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