#9B36AB#9B36AB

#9B36AB is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.194 H 321.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9B36AB
RGBrgb(155, 54, 171)
HSLhsl(292, 52%, 44%)
HSVhsv(292, 68%, 67%)
CMYKcmyk(9.4%, 68.4%, 0%, 32.9%)
CIE-LABlab(42.07, 57.54, -42.84)
CIE-LCHlch(42.07, 71.74, 323.33°)
OKLaboklab(52.56% 0.1525 -0.1195)
OKLCHoklch(52.56% 0.194 321.9)
XYZxyz(22.1866, 12.5484, 39.7736)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36AB #46AB36
analogous
#6136AB #9B36AB #AB3681
triadic
#9B36AB #AB9B36 #36AB9B
tetradic
#9B36AB #AB6136 #46AB36 #3681AB
square
#9B36AB #AB6136 #46AB36 #3681AB
split-complementary
#9B36AB #81AB36 #36AB61
monochromatic
#47194E #71277C #9B36AB #B955C9 #CC83D8

Accessibility & contrast

On white

5.98
#9B36AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9B36AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36AB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36AB#FFFFFF#000000##FFFFFF
##9B36AB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#9D4A6C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b36ab;
/* rgb */ color: rgb(155, 54, 171);
/* oklch */ color: oklch(52.6% 0.194 321.9);
Tailwind
colors: {
  custom: {
    50: '#bc76c4',
    500: '#9b36ab',
    950: '#000000',
  },
}
SCSS
$custom: #9b36ab;
$custom-light: #bc76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36ab",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 291.795,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.19377,
    "h": 321.9
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#9B36AB
secondary
#85C27B
accent
#DB4C60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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