#9B36BA#9B36BA

#9B36BA is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.207 H 317.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9B36BA
RGBrgb(155, 54, 186)
HSLhsl(286, 55%, 47%)
HSVhsv(286, 71%, 73%)
CMYKcmyk(16.7%, 71%, 0%, 27.1%)
CIE-LABlab(42.99, 60.42, -50.22)
CIE-LCHlch(42.99, 78.57, 320.27°)
OKLaboklab(53.51% 0.1517 -0.1411)
OKLCHoklch(53.51% 0.207 317.1)
XYZxyz(23.6984, 13.1531, 47.7353)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36BA #55BA36
analogous
#5936BA #9B36BA #BA3697
triadic
#9B36BA #BA9B36 #36BA9B
tetradic
#9B36BA #BA5936 #55BA36 #3697BA
square
#9B36BA #BA5936 #55BA36 #3697BA
split-complementary
#9B36BA #97BA36 #36BA59
monochromatic
#4C1A5B #73288B #9B36BA #B55DD0 #CB8DDE

Accessibility & contrast

On white

5.78
#9B36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9B36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36BA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36BA#FFFFFF#000000##FFFFFF
##9B36BA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#3869B7
Tritanopia (blue-blind)
#9A5075
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b36ba;
/* rgb */ color: rgb(155, 54, 186);
/* oklch */ color: oklch(53.5% 0.207 317.1);
Tailwind
colors: {
  custom: {
    50: '#bc76cf',
    500: '#9b36ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b36ba;
$custom-light: #bc76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36ba",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 285.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.2072,
    "h": 317.1
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#9B36BA
secondary
#94C884
accent
#DE496C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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