#9C36A2#9C36A2

#9C36A2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.186 H 325.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C36A2
RGBrgb(156, 54, 162)
HSLhsl(297, 50%, 42%)
HSVhsv(297, 67%, 64%)
CMYKcmyk(3.7%, 66.7%, 0%, 36.5%)
CIE-LABlab(41.71, 56.12, -38.04)
CIE-LCHlch(41.71, 67.80, 325.87°)
OKLaboklab(52.17% 0.1537 -0.1055)
OKLCHoklch(52.17% 0.186 325.5)
XYZxyz(21.5506, 12.3162, 35.4176)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36A2 #3CA236
analogous
#6636A2 #9C36A2 #A23672
triadic
#9C36A2 #A29C36 #36A29C
tetradic
#9C36A2 #A26636 #3CA236 #3672A2
square
#9C36A2 #A26636 #3CA236 #3672A2
split-complementary
#9C36A2 #72A236 #36A266
monochromatic
#441746 #702774 #9C36A2 #BE50C5 #CF7ED4

Accessibility & contrast

On white

6.06
#9C36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36A2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36A2#FFFFFF#000000##FFFFFF
##9C36A21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A04667
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c36a2;
/* rgb */ color: rgb(156, 54, 162);
/* oklch */ color: oklch(52.2% 0.186 325.5);
Tailwind
colors: {
  custom: {
    50: '#bc75be',
    500: '#9c36a2',
    950: '#000000',
  },
}
SCSS
$custom: #9c36a2;
$custom-light: #bc75be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36a2",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 296.667,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.18641,
    "h": 325.5
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#9C36A2
secondary
#7ABD77
accent
#DA4E56
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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