#9D32B5#9D32B5

#9D32B5 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.208 H 319.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D32B5
RGBrgb(157, 50, 181)
HSLhsl(289, 57%, 45%)
HSVhsv(289, 72%, 71%)
CMYKcmyk(13.3%, 72.4%, 0%, 29%)
CIE-LABlab(42.44, 61.41, -48.15)
CIE-LCHlch(42.44, 78.04, 321.90°)
OKLaboklab(53.08% 0.1585 -0.135)
OKLCHoklch(53.08% 0.208 319.6)
XYZxyz(23.3847, 12.7866, 44.9434)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32B5 #4AB532
analogous
#5C32B5 #9D32B5 #B5328B
triadic
#9D32B5 #B59D32 #32B59D
tetradic
#9D32B5 #B55C32 #4AB532 #328BB5
square
#9D32B5 #B55C32 #4AB532 #328BB5
split-complementary
#9D32B5 #8BB532 #32B55C
monochromatic
#4A1855 #732585 #9D32B5 #B954D0 #CD84DD

Accessibility & contrast

On white

5.90
#9D32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32B5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32B5#FFFFFF#000000##FFFFFF
##9D32B51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#9D4C71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d32b5;
/* rgb */ color: rgb(157, 50, 181);
/* oklch */ color: oklch(53.1% 0.208 319.6);
Tailwind
colors: {
  custom: {
    50: '#be74cc',
    500: '#9d32b5',
    950: '#000000',
  },
}
SCSS
$custom: #9d32b5;
$custom-light: #be74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32b5",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 289.008,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.20822,
    "h": 319.6
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#9D32B5
secondary
#8AC77C
accent
#E04864
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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