#9F32B5#9F32B5

#9F32B5 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.209 H 320.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F32B5
RGBrgb(159, 50, 181)
HSLhsl(290, 57%, 45%)
HSVhsv(290, 72%, 71%)
CMYKcmyk(12.2%, 72.4%, 0%, 29%)
CIE-LABlab(42.75, 61.83, -47.64)
CIE-LCHlch(42.75, 78.06, 322.38°)
OKLaboklab(53.36% 0.1609 -0.1334)
OKLCHoklch(53.36% 0.209 320.3)
XYZxyz(23.7782, 12.9895, 44.9619)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32B5 #48B532
analogous
#5E32B5 #9F32B5 #B53289
triadic
#9F32B5 #B59F32 #32B59F
tetradic
#9F32B5 #B55E32 #48B532 #3289B5
square
#9F32B5 #B55E32 #48B532 #3289B5
split-complementary
#9F32B5 #89B532 #32B55E
monochromatic
#4B1855 #752585 #9F32B5 #BB54D0 #CE84DD

Accessibility & contrast

On white

5.84
#9F32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9F32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32B5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32B5#FFFFFF#000000##FFFFFF
##9F32B51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#A04B71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f32b5;
/* rgb */ color: rgb(159, 50, 181);
/* oklch */ color: oklch(53.4% 0.209 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf74cc',
    500: '#9f32b5',
    950: '#000000',
  },
}
SCSS
$custom: #9f32b5;
$custom-light: #bf74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32b5",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 289.924,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.20904,
    "h": 320.3
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#9F32B5
secondary
#89C77C
accent
#E04861
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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