#9F32AA#9F32AA

#9F32AA is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 323.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9F32AA
RGBrgb(159, 50, 170)
HSLhsl(295, 55%, 43%)
HSVhsv(295, 71%, 67%)
CMYKcmyk(6.5%, 70.6%, 0%, 33.3%)
CIE-LABlab(42.09, 59.82, -42.19)
CIE-LCHlch(42.09, 73.20, 324.80°)
OKLaboklab(52.67% 0.1614 -0.1175)
OKLCHoklch(52.67% 0.2 323.9)
XYZxyz(22.6937, 12.5558, 39.2506)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F32AA #3DAA32
analogous
#6332AA #9F32AA #AA3279
triadic
#9F32AA #AA9F32 #32AA9F
tetradic
#9F32AA #AA6332 #3DAA32 #3279AA
square
#9F32AA #AA6332 #3DAA32 #3279AA
split-complementary
#9F32AA #79AA32 #32AA63
monochromatic
#47164B #73247B #9F32AA #C04ECB #D17DD9

Accessibility & contrast

On white

5.98
#9F32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9F32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F32AA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F32AA#FFFFFF#000000##FFFFFF
##9F32AA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAD
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#A2466B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f32aa;
/* rgb */ color: rgb(159, 50, 170);
/* oklch */ color: oklch(52.7% 0.200 323.9);
Tailwind
colors: {
  custom: {
    50: '#bf74c4',
    500: '#9f32aa',
    950: '#000000',
  },
}
SCSS
$custom: #9f32aa;
$custom-light: #bf74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f32aa",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 294.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.19968,
    "h": 323.9
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#9F32AA
secondary
#7DC276
accent
#DE4A57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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