#9C36BA#9C36BA

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

Color values

HEX#9C36BA
RGBrgb(156, 54, 186)
HSLhsl(286, 55%, 47%)
HSVhsv(286, 71%, 73%)
CMYKcmyk(16.1%, 71%, 0%, 27.1%)
CIE-LABlab(43.14, 60.63, -49.98)
CIE-LCHlch(43.14, 78.57, 320.50°)
OKLaboklab(53.65% 0.1529 -0.1404)
OKLCHoklch(53.65% 0.208 317.4)
XYZxyz(23.8911, 13.2524, 47.7444)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36BA #54BA36
analogous
#5A36BA #9C36BA #BA3696
triadic
#9C36BA #BA9C36 #36BA9C
tetradic
#9C36BA #BA5A36 #54BA36 #3696BA
square
#9C36BA #BA5A36 #54BA36 #3696BA
split-complementary
#9C36BA #96BA36 #36BA5A
monochromatic
#4C1A5B #74288B #9C36BA #B65DD0 #CB8DDE

Accessibility & contrast

On white

5.75
#9C36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9C36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36BA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36BA#FFFFFF#000000##FFFFFF
##9C36BA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#9B5075
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c36ba;
/* rgb */ color: rgb(156, 54, 186);
/* oklch */ color: oklch(53.6% 0.208 317.4);
Tailwind
colors: {
  custom: {
    50: '#bd76cf',
    500: '#9c36ba',
    950: '#000000',
  },
}
SCSS
$custom: #9c36ba;
$custom-light: #bd76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36ba",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 286.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.2076,
    "h": 317.4
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#9C36BA
secondary
#93C884
accent
#DE496B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9C36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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