#9B32BD#9B32BD

#9B32BD is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.214 H 316.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9B32BD
RGBrgb(155, 50, 189)
HSLhsl(285, 58%, 47%)
HSVhsv(285, 74%, 74%)
CMYKcmyk(18%, 73.5%, 0%, 25.9%)
CIE-LABlab(42.65, 62.53, -52.53)
CIE-LCHlch(42.65, 81.67, 319.97°)
OKLaboklab(53.33% 0.1553 -0.1479)
OKLCHoklch(53.33% 0.214 316.4)
XYZxyz(23.8421, 12.9249, 49.3731)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B32BD #54BD32
analogous
#5632BD #9B32BD #BD329A
triadic
#9B32BD #BD9B32 #32BD9B
tetradic
#9B32BD #BD5632 #54BD32 #329ABD
square
#9B32BD #BD5632 #54BD32 #329ABD
split-complementary
#9B32BD #9ABD32 #32BD56
monochromatic
#4C185C #73258D #9B32BD #B559D3 #CB89E0

Accessibility & contrast

On white

5.86
#9B32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9B32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B32BD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B32BD#FFFFFF#000000##FFFFFF
##9B32BD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#994F75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b32bd;
/* rgb */ color: rgb(155, 50, 189);
/* oklch */ color: oklch(53.3% 0.214 316.4);
Tailwind
colors: {
  custom: {
    50: '#bd74d2',
    500: '#9b32bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b32bd;
$custom-light: #bd74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b32bd",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 285.324,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.21447,
    "h": 316.4
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#9B32BD
secondary
#93CA81
accent
#E1466C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9B32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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