#9F32C7#9F32C7

#9F32C7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.225 H 315.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F32C7
RGBrgb(159, 50, 199)
HSLhsl(284, 60%, 49%)
HSVhsv(284, 75%, 78%)
CMYKcmyk(20.1%, 74.9%, 0%, 22%)
CIE-LABlab(43.91, 65.28, -56.30)
CIE-LCHlch(43.91, 86.20, 319.22°)
OKLaboklab(54.56% 0.159 -0.1588)
OKLCHoklch(54.56% 0.225 315)
XYZxyz(25.7458, 13.7766, 55.3247)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32C7 #5AC732
analogous
#5532C7 #9F32C7 #C732A5
triadic
#9F32C7 #C79F32 #32C79F
tetradic
#9F32C7 #C75532 #5AC732 #32A5C7
square
#9F32C7 #C75532 #5AC732 #32A5C7
split-complementary
#9F32C7 #A5C732 #32C755
monochromatic
#511965 #782696 #9F32C7 #B75FD7 #CD90E3

Accessibility & contrast

On white

5.59
#9F32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32C7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32C7#FFFFFF#000000##FFFFFF
##9F32C71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2B6BC4
Tritanopia (blue-blind)
#9C537B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f32c7;
/* rgb */ color: rgb(159, 50, 199);
/* oklch */ color: oklch(54.6% 0.225 315.0);
Tailwind
colors: {
  custom: {
    50: '#c075d9',
    500: '#9f32c7',
    950: '#000000',
  },
}
SCSS
$custom: #9f32c7;
$custom-light: #c075d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32c7",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 283.893,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.22471,
    "h": 315
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#9F32C7
secondary
#9ACE87
accent
#E3456F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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