#9D32B7#9D32B7

#9D32B7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.210 H 319.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D32B7
RGBrgb(157, 50, 183)
HSLhsl(288, 57%, 46%)
HSVhsv(288, 73%, 72%)
CMYKcmyk(14.2%, 72.7%, 0%, 28.2%)
CIE-LABlab(42.57, 61.79, -49.13)
CIE-LCHlch(42.57, 78.94, 321.51°)
OKLaboklab(53.21% 0.1584 -0.1378)
OKLCHoklch(53.21% 0.21 319)
XYZxyz(23.5913, 12.8693, 46.0319)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32B7 #4CB732
analogous
#5A32B7 #9D32B7 #B7328E
triadic
#9D32B7 #B79D32 #32B79D
tetradic
#9D32B7 #B75A32 #4CB732 #328EB7
square
#9D32B7 #B75A32 #4CB732 #328EB7
split-complementary
#9D32B7 #8EB732 #32B75A
monochromatic
#4B1857 #742587 #9D32B7 #B956D1 #CD86DE

Accessibility & contrast

On white

5.88
#9D32B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D32B7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32B7#FFFFFF#000000##FFFFFF
##9D32B71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#9D4C72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d32b7;
/* rgb */ color: rgb(157, 50, 183);
/* oklch */ color: oklch(53.2% 0.210 319.0);
Tailwind
colors: {
  custom: {
    50: '#be74cd',
    500: '#9d32b7',
    950: '#000000',
  },
}
SCSS
$custom: #9d32b7;
$custom-light: #be74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32b7",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 288.271,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.20996,
    "h": 319
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#9D32B7
secondary
#8CC77D
accent
#E04765
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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