#9F32A4#9F32A4

#9F32A4 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.195 H 326.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9F32A4
RGBrgb(159, 50, 164)
HSLhsl(297, 53%, 42%)
HSVhsv(297, 70%, 64%)
CMYKcmyk(3%, 69.5%, 0%, 35.7%)
CIE-LABlab(41.74, 58.75, -39.16)
CIE-LCHlch(41.74, 70.61, 326.31°)
OKLaboklab(52.32% 0.1615 -0.1087)
OKLCHoklch(52.32% 0.195 326.1)
XYZxyz(22.1391, 12.3339, 36.3294)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32A4 #37A432
analogous
#6632A4 #9F32A4 #A43270
triadic
#9F32A4 #A49F32 #32A49F
tetradic
#9F32A4 #A46632 #37A432 #3270A4
square
#9F32A4 #A46632 #37A432 #3270A4
split-complementary
#9F32A4 #70A432 #32A466
monochromatic
#441546 #722475 #9F32A4 #C34BC8 #D27AD6

Accessibility & contrast

On white

6.06
#9F32A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F32A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32A4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32A4#FFFFFF#000000##FFFFFF
##9F32A41.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#A34467
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f32a4;
/* rgb */ color: rgb(159, 50, 164);
/* oklch */ color: oklch(52.3% 0.195 326.1);
Tailwind
colors: {
  custom: {
    50: '#bf74bf',
    500: '#9f32a4',
    950: '#000000',
  },
}
SCSS
$custom: #9f32a4;
$custom-light: #bf74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32a4",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 297.368,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.19466,
    "h": 326.1
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#9F32A4
secondary
#76BF73
accent
#DD4B52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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