#9732B1#9732B1

#9732B1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.202 H 318.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9732B1
RGBrgb(151, 50, 177)
HSLhsl(288, 56%, 45%)
HSVhsv(288, 72%, 69%)
CMYKcmyk(14.7%, 71.8%, 0%, 30.6%)
CIE-LABlab(41.27, 59.37, -47.71)
CIE-LCHlch(41.27, 76.17, 321.21°)
OKLaboklab(51.98% 0.1516 -0.1339)
OKLCHoklch(51.98% 0.202 318.5)
XYZxyz(21.8378, 12.0358, 42.7593)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732B1 #4CB132
analogous
#5832B1 #9732B1 #B1328B
triadic
#9732B1 #B19732 #32B197
tetradic
#9732B1 #B15832 #4CB132 #328BB1
square
#9732B1 #B15832 #4CB132 #328BB1
split-complementary
#9732B1 #8BB132 #32B158
monochromatic
#461752 #6E2581 #9732B1 #B552CE #C982DC

Accessibility & contrast

On white

6.16
#9732B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9732B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9732B1#FFFFFF#000000##FFFFFF
##9732B11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#3965AE
Tritanopia (blue-blind)
#974B6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9732b1;
/* rgb */ color: rgb(151, 50, 177);
/* oklch */ color: oklch(52.0% 0.202 318.5);
Tailwind
colors: {
  custom: {
    50: '#b973c9',
    500: '#9732b1',
    950: '#000000',
  },
}
SCSS
$custom: #9732b1;
$custom-light: #b973c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9732b1",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 287.717,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.20226,
    "h": 318.5
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#9732B1
secondary
#89C57A
accent
#DF4967
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9732B1

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

Preview Lab → · Contrast checker → · Palette generator →

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