#9732AA#9732AA

#9732AA is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.196 H 320.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9732AA
RGBrgb(151, 50, 170)
HSLhsl(291, 55%, 43%)
HSVhsv(291, 71%, 67%)
CMYKcmyk(11.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(40.84, 58.03, -44.26)
CIE-LCHlch(40.84, 72.98, 322.67°)
OKLaboklab(51.53% 0.1521 -0.1238)
OKLCHoklch(51.53% 0.196 320.9)
XYZxyz(21.1580, 11.7639, 39.1786)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732AA #45AA32
analogous
#5B32AA #9732AA #AA3281
triadic
#9732AA #AA9732 #32AA97
tetradic
#9732AA #AA5B32 #45AA32 #3281AA
square
#9732AA #AA5B32 #45AA32 #3281AA
split-complementary
#9732AA #81AA32 #32AA5B
monochromatic
#43164B #6D247B #9732AA #B74ECB #CA7DD9

Accessibility & contrast

On white

6.26
#9732AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9732AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732AA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732AA#FFFFFF#000000##FFFFFF
##9732AA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#3F64A7
Tritanopia (blue-blind)
#98486B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9732aa;
/* rgb */ color: rgb(151, 50, 170);
/* oklch */ color: oklch(51.5% 0.196 320.9);
Tailwind
colors: {
  custom: {
    50: '#b973c4',
    500: '#9732aa',
    950: '#000000',
  },
}
SCSS
$custom: #9732aa;
$custom-light: #b973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9732aa",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 290.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.19606,
    "h": 320.9
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#9732AA
secondary
#82C276
accent
#DE4A61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9732AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9732AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva