#9C36CC#9C36CC

#9C36CC is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.224 H 312.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9C36CC
RGBrgb(156, 54, 204)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 74%, 80%)
CMYKcmyk(23.5%, 73.5%, 0%, 20%)
CIE-LABlab(44.33, 64.23, -58.54)
CIE-LCHlch(44.33, 86.91, 317.65°)
OKLaboklab(54.87% 0.1508 -0.1655)
OKLCHoklch(54.87% 0.224 312.3)
XYZxyz(25.9266, 14.0666, 58.4644)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36CC #66CC36
analogous
#5136CC #9C36CC #CC36B1
triadic
#9C36CC #CC9C36 #36CC9C
tetradic
#9C36CC #CC5136 #66CC36 #36B1CC
square
#9C36CC #CC5136 #66CC36 #36B1CC
split-complementary
#9C36CC #B1CC36 #36CC51
monochromatic
#521B6C #77289D #9C36CC #B467D8 #CC98E5

Accessibility & contrast

On white

5.51
#9C36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9C36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36CC#FFFFFF#000000##FFFFFF
##9C36CC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#96587F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9c36cc;
/* rgb */ color: rgb(156, 54, 204);
/* oklch */ color: oklch(54.9% 0.224 312.3);
Tailwind
colors: {
  custom: {
    50: '#be77dc',
    500: '#9c36cc',
    950: '#000000',
  },
}
SCSS
$custom: #9c36cc;
$custom-light: #be77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36cc",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 280.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.22394,
    "h": 312.3
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#9C36CC
secondary
#A3D08E
accent
#E34578
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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