#9D32BB#9D32BB

#9D32BB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.213 H 317.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9D32BB
RGBrgb(157, 50, 187)
HSLhsl(287, 58%, 46%)
HSVhsv(287, 73%, 73%)
CMYKcmyk(16%, 73.3%, 0%, 26.7%)
CIE-LABlab(42.82, 62.55, -51.07)
CIE-LCHlch(42.82, 80.75, 320.77°)
OKLaboklab(53.47% 0.158 -0.1435)
OKLCHoklch(53.47% 0.213 317.7)
XYZxyz(24.0136, 13.0382, 48.2558)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32BB #50BB32
analogous
#5932BB #9D32BB #BB3295
triadic
#9D32BB #BB9D32 #32BB9D
tetradic
#9D32BB #BB5932 #50BB32 #3295BB
square
#9D32BB #BB5932 #50BB32 #3295BB
split-complementary
#9D32BB #95BB32 #32BB59
monochromatic
#4C185A #74258B #9D32BB #B858D2 #CC88DF

Accessibility & contrast

On white

5.82
#9D32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9D32BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32BB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32BB#FFFFFF#000000##FFFFFF
##9D32BB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#9C4E74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d32bb;
/* rgb */ color: rgb(157, 50, 187);
/* oklch */ color: oklch(53.5% 0.213 317.7);
Tailwind
colors: {
  custom: {
    50: '#be74d0',
    500: '#9d32bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d32bb;
$custom-light: #be74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32bb",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 286.861,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.21346,
    "h": 317.7
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#9D32BB
secondary
#90C980
accent
#E14769
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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