#9F32B3#9F32B3

#9F32B3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.207 H 321.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F32B3
RGBrgb(159, 50, 179)
HSLhsl(291, 56%, 45%)
HSVhsv(291, 72%, 70%)
CMYKcmyk(11.2%, 72.1%, 0%, 29.8%)
CIE-LABlab(42.62, 61.46, -46.66)
CIE-LCHlch(42.62, 77.17, 322.79°)
OKLaboklab(53.23% 0.161 -0.1306)
OKLCHoklch(53.23% 0.207 321)
XYZxyz(23.5744, 12.9081, 43.8888)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32B3 #46B332
analogous
#5F32B3 #9F32B3 #B33286
triadic
#9F32B3 #B39F32 #32B39F
tetradic
#9F32B3 #B35F32 #46B332 #3286B3
square
#9F32B3 #B35F32 #46B332 #3286B3
split-complementary
#9F32B3 #86B332 #32B35F
monochromatic
#4A1753 #752583 #9F32B3 #BC53CF #CF83DC

Accessibility & contrast

On white

5.86
#9F32B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F32B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32B3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32B3#FFFFFF#000000##FFFFFF
##9F32B31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4069B0
Tritanopia (blue-blind)
#A04A70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f32b3;
/* rgb */ color: rgb(159, 50, 179);
/* oklch */ color: oklch(53.2% 0.207 321.0);
Tailwind
colors: {
  custom: {
    50: '#bf74ca',
    500: '#9f32b3',
    950: '#000000',
  },
}
SCSS
$custom: #9f32b3;
$custom-light: #bf74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32b3",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 290.698,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.20732,
    "h": 321
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#9F32B3
secondary
#87C67B
accent
#E04860
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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