#9B36AA#9B36AA

#9B36AA is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.193 H 322.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9B36AA
RGBrgb(155, 54, 170)
HSLhsl(292, 52%, 44%)
HSVhsv(292, 68%, 67%)
CMYKcmyk(8.8%, 68.2%, 0%, 33.3%)
CIE-LABlab(42.02, 57.35, -42.34)
CIE-LCHlch(42.02, 71.29, 323.56°)
OKLaboklab(52.5% 0.1525 -0.1181)
OKLCHoklch(52.5% 0.193 322.3)
XYZxyz(22.0917, 12.5104, 39.2735)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36AA #45AA36
analogous
#6136AA #9B36AA #AA367F
triadic
#9B36AA #AA9B36 #36AA9B
tetradic
#9B36AA #AA6136 #45AA36 #367FAA
square
#9B36AA #AA6136 #45AA36 #367FAA
split-complementary
#9B36AA #7FAA36 #36AA61
monochromatic
#46184D #71277C #9B36AA #BA54C9 #CD83D8

Accessibility & contrast

On white

6.00
#9B36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9B36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36AA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36AA#FFFFFF#000000##FFFFFF
##9B36AA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAD
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#9D4A6C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b36aa;
/* rgb */ color: rgb(155, 54, 170);
/* oklch */ color: oklch(52.5% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#bc75c4',
    500: '#9b36aa',
    950: '#000000',
  },
}
SCSS
$custom: #9b36aa;
$custom-light: #bc75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36aa",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 292.241,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.525,
    "c": 0.19289,
    "h": 322.3
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#9B36AA
secondary
#84C17B
accent
#DB4D5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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