#9F32BD#9F32BD

#9F32BD is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 317.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9F32BD
RGBrgb(159, 50, 189)
HSLhsl(287, 58%, 47%)
HSVhsv(287, 74%, 74%)
CMYKcmyk(15.9%, 73.5%, 0%, 25.9%)
CIE-LABlab(43.25, 63.34, -51.53)
CIE-LCHlch(43.25, 81.65, 320.87°)
OKLaboklab(53.88% 0.1602 -0.1448)
OKLCHoklch(53.88% 0.216 317.9)
XYZxyz(24.6227, 13.3274, 49.4097)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32BD #50BD32
analogous
#5932BD #9F32BD #BD3296
triadic
#9F32BD #BD9F32 #32BD9F
tetradic
#9F32BD #BD5932 #50BD32 #3296BD
square
#9F32BD #BD5932 #50BD32 #3296BD
split-complementary
#9F32BD #96BD32 #32BD59
monochromatic
#4E185C #76258D #9F32BD #B959D3 #CD89E0

Accessibility & contrast

On white

5.73
#9F32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9F32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32BD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32BD#FFFFFF#000000##FFFFFF
##9F32BD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#9E4F75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f32bd;
/* rgb */ color: rgb(159, 50, 189);
/* oklch */ color: oklch(53.9% 0.216 317.9);
Tailwind
colors: {
  custom: {
    50: '#bf75d2',
    500: '#9f32bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f32bd;
$custom-light: #bf75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32bd",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 287.05,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.21597,
    "h": 317.9
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#9F32BD
secondary
#91CA81
accent
#E14668
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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