#9B36CA#9B36CA

#9B36CA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.222 H 312.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9B36CA
RGBrgb(155, 54, 202)
HSLhsl(281, 58%, 50%)
HSVhsv(281, 73%, 79%)
CMYKcmyk(23.3%, 73.3%, 0%, 20.8%)
CIE-LABlab(44.05, 63.63, -57.85)
CIE-LCHlch(44.05, 85.99, 317.73°)
OKLaboklab(54.6% 0.1499 -0.1635)
OKLCHoklch(54.6% 0.222 312.5)
XYZxyz(25.4955, 13.8719, 57.2002)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36CA #65CA36
analogous
#5136CA #9B36CA #CA36AF
triadic
#9B36CA #CA9B36 #36CA9B
tetradic
#9B36CA #CA5136 #65CA36 #36AFCA
square
#9B36CA #CA5136 #65CA36 #36AFCA
split-complementary
#9B36CA #AFCA36 #36CA51
monochromatic
#511C6A #76299A #9B36CA #B366D7 #CB97E4

Accessibility & contrast

On white

5.56
#9B36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9B36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36CA#FFFFFF#000000##FFFFFF
##9B36CA1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#246AC7
Tritanopia (blue-blind)
#96577D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b36ca;
/* rgb */ color: rgb(155, 54, 202);
/* oklch */ color: oklch(54.6% 0.222 312.5);
Tailwind
colors: {
  custom: {
    50: '#bd77db',
    500: '#9b36ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b36ca;
$custom-light: #bd77db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36ca",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 280.946,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.2218,
    "h": 312.5
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#9B36CA
secondary
#A2CF8D
accent
#E14678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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