#9B36AF#9B36AF

#9B36AF is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.197 H 320.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9B36AF
RGBrgb(155, 54, 175)
HSLhsl(290, 53%, 45%)
HSVhsv(290, 69%, 69%)
CMYKcmyk(11.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(42.31, 58.29, -44.83)
CIE-LCHlch(42.31, 73.54, 322.44°)
OKLaboklab(52.81% 0.1524 -0.1254)
OKLCHoklch(52.81% 0.197 320.6)
XYZxyz(22.5737, 12.7032, 41.8120)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B36AF #4AAF36
analogous
#5F36AF #9B36AF #AF3686
triadic
#9B36AF #AF9B36 #36AF9B
tetradic
#9B36AF #AF5F36 #4AAF36 #3686AF
square
#9B36AF #AF5F36 #4AAF36 #3686AF
split-complementary
#9B36AF #86AF36 #36AF5F
monochromatic
#481951 #722880 #9B36AF #B857CB #CC86DA

Accessibility & contrast

On white

5.93
#9B36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B36AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B36AF#FFFFFF#000000##FFFFFF
##9B36AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#9C4C6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b36af;
/* rgb */ color: rgb(155, 54, 175);
/* oklch */ color: oklch(52.8% 0.197 320.6);
Tailwind
colors: {
  custom: {
    50: '#bc76c7',
    500: '#9b36af',
    950: '#000000',
  },
}
SCSS
$custom: #9b36af;
$custom-light: #bc76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b36af",
  "rgb": {
    "r": 155,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 290.083,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.19733,
    "h": 320.6
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#9B36AF
secondary
#89C37D
accent
#DC4C63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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