#9B32C2#9B32C2

#9B32C2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.219 H 315.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9B32C2
RGBrgb(155, 50, 194)
HSLhsl(284, 59%, 48%)
HSVhsv(284, 74%, 76%)
CMYKcmyk(20.1%, 74.2%, 0%, 23.9%)
CIE-LABlab(42.98, 63.52, -54.92)
CIE-LCHlch(42.98, 83.97, 319.15°)
OKLaboklab(53.67% 0.1547 -0.1549)
OKLCHoklch(53.67% 0.219 315)
XYZxyz(24.3942, 13.1457, 52.2809)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B32C2 #59C232
analogous
#5332C2 #9B32C2 #C232A1
triadic
#9B32C2 #C29B32 #32C29B
tetradic
#9B32C2 #C25332 #59C232 #32A1C2
square
#9B32C2 #C25332 #59C232 #32A1C2
split-complementary
#9B32C2 #A1C232 #32C253
monochromatic
#4D1961 #742591 #9B32C2 #B45CD5 #CB8DE2

Accessibility & contrast

On white

5.79
#9B32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B32C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B32C2#FFFFFF#000000##FFFFFF
##9B32C21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#985278
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b32c2;
/* rgb */ color: rgb(155, 50, 194);
/* oklch */ color: oklch(53.7% 0.219 315.0);
Tailwind
colors: {
  custom: {
    50: '#bd75d5',
    500: '#9b32c2',
    950: '#000000',
  },
}
SCSS
$custom: #9b32c2;
$custom-light: #bd75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b32c2",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 283.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.21891,
    "h": 315
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#9B32C2
secondary
#97CC84
accent
#E24670
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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