#9D32A9#9D32A9

#9D32A9 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.198 H 323.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D32A9
RGBrgb(157, 50, 169)
HSLhsl(294, 54%, 43%)
HSVhsv(294, 70%, 66%)
CMYKcmyk(7.1%, 70.4%, 0%, 33.7%)
CIE-LABlab(41.71, 59.19, -42.21)
CIE-LCHlch(41.71, 72.70, 324.51°)
OKLaboklab(52.33% 0.1591 -0.1176)
OKLCHoklch(52.33% 0.198 323.5)
XYZxyz(22.2060, 12.3152, 38.7359)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32A9 #3EA932
analogous
#6232A9 #9D32A9 #A93279
triadic
#9D32A9 #A99D32 #32A99D
tetradic
#9D32A9 #A96232 #3EA932 #3279A9
square
#9D32A9 #A96232 #3EA932 #3279A9
split-complementary
#9D32A9 #79A932 #32A962
monochromatic
#45164B #71247A #9D32A9 #BE4ECB #CF7DD9

Accessibility & contrast

On white

6.06
#9D32A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9D32A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32A9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32A9#FFFFFF#000000##FFFFFF
##9D32A91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAC
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#A0466A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d32a9;
/* rgb */ color: rgb(157, 50, 169);
/* oklch */ color: oklch(52.3% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#bd74c3',
    500: '#9d32a9',
    950: '#000000',
  },
}
SCSS
$custom: #9d32a9;
$custom-light: #bd74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32a9",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 293.95,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.19789,
    "h": 323.5
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#9D32A9
secondary
#7DC176
accent
#DE4A59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9D32A9

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

Preview Lab → · Contrast checker → · Palette generator →

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