#9D32C7#9D32C7

#9D32C7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.224 H 314.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D32C7
RGBrgb(157, 50, 199)
HSLhsl(283, 60%, 49%)
HSVhsv(283, 75%, 78%)
CMYKcmyk(21.1%, 74.9%, 0%, 22%)
CIE-LABlab(43.62, 64.89, -56.79)
CIE-LCHlch(43.62, 86.24, 318.81°)
OKLaboklab(54.29% 0.1565 -0.1603)
OKLCHoklch(54.29% 0.224 314.3)
XYZxyz(25.3523, 13.5737, 55.3063)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D32C7 #5CC732
analogous
#5332C7 #9D32C7 #C732A7
triadic
#9D32C7 #C79D32 #32C79D
tetradic
#9D32C7 #C75332 #5CC732 #32A7C7
square
#9D32C7 #C75332 #5CC732 #32A7C7
split-complementary
#9D32C7 #A7C732 #32C753
monochromatic
#501965 #762696 #9D32C7 #B55FD7 #CC90E3

Accessibility & contrast

On white

5.65
#9D32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9D32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D32C7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D32C7#FFFFFF#000000##FFFFFF
##9D32C71.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#99537B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d32c7;
/* rgb */ color: rgb(157, 50, 199);
/* oklch */ color: oklch(54.3% 0.224 314.3);
Tailwind
colors: {
  custom: {
    50: '#be75d9',
    500: '#9d32c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d32c7;
$custom-light: #be75d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d32c7",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 283.087,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.22403,
    "h": 314.3
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#9D32C7
secondary
#9BCE87
accent
#E34571
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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