#9D32BD#9D32BD

#9D32BD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.215 H 317.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9D32BD
RGBrgb(157, 50, 189)
HSLhsl(286, 58%, 47%)
HSVhsv(286, 74%, 74%)
CMYKcmyk(16.9%, 73.5%, 0%, 25.9%)
CIE-LABlab(42.95, 62.94, -52.03)
CIE-LCHlch(42.95, 81.66, 320.42°)
OKLaboklab(53.6% 0.1578 -0.1464)
OKLCHoklch(53.6% 0.215 317.2)
XYZxyz(24.2292, 13.1245, 49.3912)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32BD #52BD32
analogous
#5832BD #9D32BD #BD3298
triadic
#9D32BD #BD9D32 #32BD9D
tetradic
#9D32BD #BD5832 #52BD32 #3298BD
square
#9D32BD #BD5832 #52BD32 #3298BD
split-complementary
#9D32BD #98BD32 #32BD58
monochromatic
#4D185C #75258D #9D32BD #B759D3 #CC89E0

Accessibility & contrast

On white

5.79
#9D32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32BD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32BD#FFFFFF#000000##FFFFFF
##9D32BD1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#9B4F75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d32bd;
/* rgb */ color: rgb(157, 50, 189);
/* oklch */ color: oklch(53.6% 0.215 317.2);
Tailwind
colors: {
  custom: {
    50: '#be75d2',
    500: '#9d32bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d32bd;
$custom-light: #be75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32bd",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 286.187,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.21521,
    "h": 317.2
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#9D32BD
secondary
#92CA81
accent
#E1466A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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