#9D32C5#9D32C5

#9D32C5 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.222 H 314.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9D32C5
RGBrgb(157, 50, 197)
HSLhsl(284, 60%, 48%)
HSVhsv(284, 75%, 77%)
CMYKcmyk(20.3%, 74.6%, 0%, 22.7%)
CIE-LABlab(43.48, 64.50, -55.85)
CIE-LCHlch(43.48, 85.32, 319.11°)
OKLaboklab(54.15% 0.1568 -0.1575)
OKLCHoklch(54.15% 0.222 314.9)
XYZxyz(25.1216, 13.4814, 54.0914)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32C5 #5AC532
analogous
#5332C5 #9D32C5 #C532A3
triadic
#9D32C5 #C59D32 #32C59D
tetradic
#9D32C5 #C55332 #5AC532 #32A3C5
square
#9D32C5 #C55332 #5AC532 #32A3C5
split-complementary
#9D32C5 #A3C532 #32C553
monochromatic
#4F1963 #762694 #9D32C5 #B55ED6 #CC8FE3

Accessibility & contrast

On white

5.68
#9D32C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9D32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32C5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32C5#FFFFFF#000000##FFFFFF
##9D32C51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#2B69C2
Tritanopia (blue-blind)
#9A537A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d32c5;
/* rgb */ color: rgb(157, 50, 197);
/* oklch */ color: oklch(54.1% 0.222 314.9);
Tailwind
colors: {
  custom: {
    50: '#be75d7',
    500: '#9d32c5',
    950: '#000000',
  },
}
SCSS
$custom: #9d32c5;
$custom-light: #be75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32c5",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 283.673,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.22226,
    "h": 314.9
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#9D32C5
secondary
#99CD86
accent
#E34570
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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