#9B32BB#9B32BB

#9B32BB is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 317.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9B32BB
RGBrgb(155, 50, 187)
HSLhsl(286, 58%, 46%)
HSVhsv(286, 73%, 73%)
CMYKcmyk(17.1%, 73.3%, 0%, 26.7%)
CIE-LABlab(42.52, 62.14, -51.57)
CIE-LCHlch(42.52, 80.76, 320.31°)
OKLaboklab(53.2% 0.1556 -0.1451)
OKLCHoklch(53.2% 0.213 317)
XYZxyz(23.6265, 12.8386, 48.2376)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B32BB #52BB32
analogous
#5632BB #9B32BB #BB3297
triadic
#9B32BB #BB9B32 #32BB9B
tetradic
#9B32BB #BB5632 #52BB32 #3297BB
square
#9B32BB #BB5632 #52BB32 #3297BB
split-complementary
#9B32BB #97BB32 #32BB56
monochromatic
#4B185A #73258B #9B32BB #B658D2 #CB88DF

Accessibility & contrast

On white

5.89
#9B32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9B32BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B32BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B32BB#FFFFFF#000000##FFFFFF
##9B32BB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3467B8
Tritanopia (blue-blind)
#994F74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b32bb;
/* rgb */ color: rgb(155, 50, 187);
/* oklch */ color: oklch(53.2% 0.213 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd74d0',
    500: '#9b32bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b32bb;
$custom-light: #bd74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b32bb",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 285.985,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.2127,
    "h": 317
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#9B32BB
secondary
#91C980
accent
#E1476B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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