#9F32BB#9F32BB

#9F32BB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.214 H 318.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9F32BB
RGBrgb(159, 50, 187)
HSLhsl(288, 58%, 46%)
HSVhsv(288, 73%, 73%)
CMYKcmyk(15%, 73.3%, 0%, 26.7%)
CIE-LABlab(43.12, 62.96, -50.57)
CIE-LCHlch(43.12, 80.75, 321.23°)
OKLaboklab(53.75% 0.1604 -0.142)
OKLCHoklch(53.75% 0.214 318.5)
XYZxyz(24.4071, 13.2411, 48.2742)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32BB #4EBB32
analogous
#5B32BB #9F32BB #BB3293
triadic
#9F32BB #BB9F32 #32BB9F
tetradic
#9F32BB #BB5B32 #4EBB32 #3293BB
square
#9F32BB #BB5B32 #4EBB32 #3293BB
split-complementary
#9F32BB #93BB32 #32BB5B
monochromatic
#4D185A #76258B #9F32BB #B958D2 #CD88DF

Accessibility & contrast

On white

5.76
#9F32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9F32BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32BB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32BB#FFFFFF#000000##FFFFFF
##9F32BB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#9E4E74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f32bb;
/* rgb */ color: rgb(159, 50, 187);
/* oklch */ color: oklch(53.7% 0.214 318.5);
Tailwind
colors: {
  custom: {
    50: '#bf75d0',
    500: '#9f32bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f32bb;
$custom-light: #bf75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32bb",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 287.737,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.21423,
    "h": 318.5
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#9F32BB
secondary
#8FC980
accent
#E14766
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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