#9B36C6#9B36C6

#9B36C6 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.218 H 313.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9B36C6
RGBrgb(155, 54, 198)
HSLhsl(282, 57%, 49%)
HSVhsv(282, 73%, 78%)
CMYKcmyk(21.7%, 72.7%, 0%, 22.4%)
CIE-LABlab(43.78, 62.82, -55.96)
CIE-LCHlch(43.78, 84.13, 318.30°)
OKLaboklab(54.32% 0.1504 -0.158)
OKLCHoklch(54.32% 0.218 313.6)
XYZxyz(25.0280, 13.6849, 54.7382)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36C6 #61C636
analogous
#5336C6 #9B36C6 #C636A9
triadic
#9B36C6 #C69B36 #36C69B
tetradic
#9B36C6 #C65336 #61C636 #36A9C6
square
#9B36C6 #C65336 #61C636 #36A9C6
split-complementary
#9B36C6 #A9C636 #36C653
monochromatic
#501C66 #752996 #9B36C6 #B364D5 #CB94E2

Accessibility & contrast

On white

5.62
#9B36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9B36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36C6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36C6#FFFFFF#000000##FFFFFF
##9B36C61.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#2A6AC3
Tritanopia (blue-blind)
#97567B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b36c6;
/* rgb */ color: rgb(155, 54, 198);
/* oklch */ color: oklch(54.3% 0.218 313.6);
Tailwind
colors: {
  custom: {
    50: '#bd77d8',
    500: '#9b36c6',
    950: '#000000',
  },
}
SCSS
$custom: #9b36c6;
$custom-light: #bd77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36c6",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 282.083,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54321,
    "c": 0.21813,
    "h": 313.6
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#9B36C6
secondary
#9FCD8B
accent
#E04775
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #9B36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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