#9B32B2#9B32B2

#9B32B2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.205 H 319.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B32B2
RGBrgb(155, 50, 178)
HSLhsl(289, 56%, 45%)
HSVhsv(289, 72%, 70%)
CMYKcmyk(12.9%, 71.9%, 0%, 30.2%)
CIE-LABlab(41.95, 60.42, -47.19)
CIE-LCHlch(41.95, 76.66, 322.01°)
OKLaboklab(52.61% 0.1564 -0.1322)
OKLCHoklch(52.61% 0.205 319.8)
XYZxyz(22.6930, 12.4652, 43.3216)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B32B2 #49B232
analogous
#5B32B2 #9B32B2 #B23289
triadic
#9B32B2 #B29B32 #32B29B
tetradic
#9B32B2 #B25B32 #49B232 #3289B2
square
#9B32B2 #B25B32 #49B232 #3289B2
split-complementary
#9B32B2 #89B232 #32B25B
monochromatic
#481752 #712582 #9B32B2 #B853CF #CC82DC

Accessibility & contrast

On white

6.01
#9B32B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9B32B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B32B2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B32B2#FFFFFF#000000##FFFFFF
##9B32B21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#9B4B6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b32b2;
/* rgb */ color: rgb(155, 50, 178);
/* oklch */ color: oklch(52.6% 0.205 319.8);
Tailwind
colors: {
  custom: {
    50: '#bc74ca',
    500: '#9b32b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b32b2;
$custom-light: #bc74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b32b2",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 289.219,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.20478,
    "h": 319.8
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#9B32B2
secondary
#88C57B
accent
#DF4864
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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