#9B36BC#9B36BC

#9B36BC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.209 H 316.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9B36BC
RGBrgb(155, 54, 188)
HSLhsl(285, 55%, 47%)
HSVhsv(285, 71%, 74%)
CMYKcmyk(17.6%, 71.3%, 0%, 26.3%)
CIE-LABlab(43.12, 60.81, -51.19)
CIE-LCHlch(43.12, 79.49, 319.91°)
OKLaboklab(53.64% 0.1515 -0.144)
OKLCHoklch(53.64% 0.209 316.5)
XYZxyz(23.9125, 13.2387, 48.8629)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36BC #57BC36
analogous
#5836BC #9B36BC #BC369A
triadic
#9B36BC #BC9B36 #36BC9B
tetradic
#9B36BC #BC5836 #57BC36 #369ABC
square
#9B36BC #BC5836 #57BC36 #369ABC
split-complementary
#9B36BC #9ABC36 #36BC58
monochromatic
#4D1B5D #74288C #9B36BC #B55ED1 #CB8EDF

Accessibility & contrast

On white

5.76
#9B36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B36BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36BC#FFFFFF#000000##FFFFFF
##9B36BC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#995176
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b36bc;
/* rgb */ color: rgb(155, 54, 188);
/* oklch */ color: oklch(53.6% 0.209 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc76d1',
    500: '#9b36bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b36bc;
$custom-light: #bc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36bc",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 285.224,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.20903,
    "h": 316.5
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#9B36BC
secondary
#96C985
accent
#DF496E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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