#9732AC#9732AC

#9732AC is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 320.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9732AC
RGBrgb(151, 50, 172)
HSLhsl(290, 55%, 44%)
HSVhsv(290, 71%, 67%)
CMYKcmyk(12.2%, 70.9%, 0%, 32.5%)
CIE-LABlab(40.96, 58.41, -45.25)
CIE-LCHlch(40.96, 73.89, 322.24°)
OKLaboklab(51.66% 0.1519 -0.1267)
OKLCHoklch(51.66% 0.198 320.2)
XYZxyz(21.3486, 11.8401, 40.1826)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732AC #47AC32
analogous
#5A32AC #9732AC #AC3284
triadic
#9732AC #AC9732 #32AC97
tetradic
#9732AC #AC5A32 #47AC32 #3284AC
square
#9732AC #AC5A32 #47AC32 #3284AC
split-complementary
#9732AC #84AC32 #32AC5A
monochromatic
#44164D #6D247D #9732AC #B64FCC #CA7FDA

Accessibility & contrast

On white

6.24
#9732AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9732AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9732AC#FFFFFF#000000##FFFFFF
##9732AC1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#3D64A9
Tritanopia (blue-blind)
#98496C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9732ac;
/* rgb */ color: rgb(151, 50, 172);
/* oklch */ color: oklch(51.7% 0.198 320.2);
Tailwind
colors: {
  custom: {
    50: '#b973c5',
    500: '#9732ac',
    950: '#000000',
  },
}
SCSS
$custom: #9732ac;
$custom-light: #b973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9732ac",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 289.672,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.19782,
    "h": 320.2
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#9732AC
secondary
#84C377
accent
#DE4A63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9732AC

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

Preview Lab → · Contrast checker → · Palette generator →

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