#9F32BF#9F32BF

#9F32BF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.218 H 317.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9F32BF
RGBrgb(159, 50, 191)
HSLhsl(286, 59%, 47%)
HSVhsv(286, 74%, 75%)
CMYKcmyk(16.8%, 73.8%, 0%, 25.1%)
CIE-LABlab(43.38, 63.72, -52.49)
CIE-LCHlch(43.38, 82.56, 320.52°)
OKLaboklab(54.01% 0.16 -0.1476)
OKLCHoklch(54.01% 0.218 317.3)
XYZxyz(24.8413, 13.4148, 50.5609)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32BF #52BF32
analogous
#5932BF #9F32BF #BF3299
triadic
#9F32BF #BF9F32 #32BF9F
tetradic
#9F32BF #BF5932 #52BF32 #3299BF
square
#9F32BF #BF5932 #52BF32 #3299BF
split-complementary
#9F32BF #99BF32 #32BF59
monochromatic
#4E195E #77258E #9F32BF #B85AD4 #CD8BE1

Accessibility & contrast

On white

5.70
#9F32BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9F32BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32BF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32BF#FFFFFF#000000##FFFFFF
##9F32BF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#9E5076
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f32bf;
/* rgb */ color: rgb(159, 50, 191);
/* oklch */ color: oklch(54.0% 0.218 317.3);
Tailwind
colors: {
  custom: {
    50: '#bf75d3',
    500: '#9f32bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f32bf;
$custom-light: #bf75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32bf",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 286.383,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.21771,
    "h": 317.3
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#9F32BF
secondary
#93CB82
accent
#E24669
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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