#9D32CD#9D32CD

#9D32CD is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.229 H 312.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9D32CD
RGBrgb(157, 50, 205)
HSLhsl(281, 61%, 50%)
HSVhsv(281, 76%, 80%)
CMYKcmyk(23.4%, 75.6%, 0%, 19.6%)
CIE-LABlab(44.03, 66.09, -59.60)
CIE-LCHlch(44.03, 89.00, 317.96°)
OKLaboklab(54.71% 0.1555 -0.1686)
OKLCHoklch(54.71% 0.229 312.7)
XYZxyz(26.0627, 13.8579, 59.0477)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32CD #62CD32
analogous
#4F32CD #9D32CD #CD32B0
triadic
#9D32CD #CD9D32 #32CD9D
tetradic
#9D32CD #CD4F32 #62CD32 #32B0CD
square
#9D32CD #CD4F32 #62CD32 #32B0CD
split-complementary
#9D32CD #B0CD32 #32CD4F
monochromatic
#521A6B #77269C #9D32CD #B563D9 #CC94E5

Accessibility & contrast

On white

5.57
#9D32CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9D32CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32CD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32CD#FFFFFF#000000##FFFFFF
##9D32CD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#98567E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d32cd;
/* rgb */ color: rgb(157, 50, 205);
/* oklch */ color: oklch(54.7% 0.229 312.7);
Tailwind
colors: {
  custom: {
    50: '#bf75dd',
    500: '#9d32cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d32cd;
$custom-light: #bf75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32cd",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 205
  },
  "hsl": {
    "h": 281.419,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.22937,
    "h": 312.7
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#9D32CD
secondary
#A0D08B
accent
#E44475
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D32CD

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

Preview Lab → · Contrast checker → · Palette generator →

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