#9D32AB#9D32AB

#9D32AB is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.200 H 322.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9D32AB
RGBrgb(157, 50, 171)
HSLhsl(293, 55%, 43%)
HSVhsv(293, 71%, 67%)
CMYKcmyk(8.2%, 70.8%, 0%, 32.9%)
CIE-LABlab(41.83, 59.55, -43.21)
CIE-LCHlch(41.83, 73.58, 324.04°)
OKLaboklab(52.45% 0.1591 -0.1205)
OKLCHoklch(52.45% 0.2 322.8)
XYZxyz(22.3952, 12.3909, 39.7322)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32AB #40AB32
analogous
#6032AB #9D32AB #AB327C
triadic
#9D32AB #AB9D32 #32AB9D
tetradic
#9D32AB #AB6032 #40AB32 #327CAB
square
#9D32AB #AB6032 #40AB32 #327CAB
split-complementary
#9D32AB #7CAB32 #32AB60
monochromatic
#46164C #72247C #9D32AB #BD4FCB #CF7ED9

Accessibility & contrast

On white

6.04
#9D32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D32AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32AB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32AB#FFFFFF#000000##FFFFFF
##9D32AB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAE
Deuteranopia (green-blind)
#4467A8
Tritanopia (blue-blind)
#9F476B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d32ab;
/* rgb */ color: rgb(157, 50, 171);
/* oklch */ color: oklch(52.4% 0.200 322.8);
Tailwind
colors: {
  custom: {
    50: '#bd74c4',
    500: '#9d32ab',
    950: '#000000',
  },
}
SCSS
$custom: #9d32ab;
$custom-light: #bd74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32ab",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 293.058,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.1996,
    "h": 322.8
  },
  "luminance": 0.1239
}

Semantic roles & 50–950 ramp

primary
#9D32AB
secondary
#7FC277
accent
#DE4A5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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