#9C36B2#9C36B2

#9C36B2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.200 H 320.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9C36B2
RGBrgb(156, 54, 178)
HSLhsl(289, 53%, 45%)
HSVhsv(289, 70%, 70%)
CMYKcmyk(12.4%, 69.7%, 0%, 30.2%)
CIE-LABlab(42.65, 59.09, -46.06)
CIE-LCHlch(42.65, 74.92, 322.06°)
OKLaboklab(53.14% 0.1535 -0.1289)
OKLCHoklch(53.14% 0.2 320)
XYZxyz(23.0644, 12.9217, 43.3901)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C36B2 #4CB236
analogous
#5E36B2 #9C36B2 #B2368A
triadic
#9C36B2 #B29C36 #36B29C
tetradic
#9C36B2 #B25E36 #4CB236 #368AB2
square
#9C36B2 #B25E36 #4CB236 #368AB2
split-complementary
#9C36B2 #8AB236 #36B25E
monochromatic
#4A1A54 #732883 #9C36B2 #B859CD #CC88DB

Accessibility & contrast

On white

5.86
#9C36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9C36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C36B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C36B2#FFFFFF#000000##FFFFFF
##9C36B21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#9D4D70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c36b2;
/* rgb */ color: rgb(156, 54, 178);
/* oklch */ color: oklch(53.1% 0.200 320.0);
Tailwind
colors: {
  custom: {
    50: '#bd76ca',
    500: '#9c36b2',
    950: '#000000',
  },
}
SCSS
$custom: #9c36b2;
$custom-light: #bd76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9c36b2",
  "rgb": {
    "r": 156,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 289.355,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.20043,
    "h": 320
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#9C36B2
secondary
#8BC57F
accent
#DD4B65
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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