#9732B7#9732B7

#9732B7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.208 H 316.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9732B7
RGBrgb(151, 50, 183)
HSLhsl(286, 57%, 46%)
HSVhsv(286, 73%, 72%)
CMYKcmyk(17.5%, 72.7%, 0%, 28.2%)
CIE-LABlab(41.66, 60.54, -50.64)
CIE-LCHlch(41.66, 78.93, 320.09°)
OKLaboklab(52.38% 0.1511 -0.1425)
OKLCHoklch(52.38% 0.208 316.7)
XYZxyz(22.4491, 12.2803, 45.9784)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732B7 #52B732
analogous
#5432B7 #9732B7 #B73294
triadic
#9732B7 #B79732 #32B797
tetradic
#9732B7 #B75432 #52B732 #3294B7
square
#9732B7 #B75432 #52B732 #3294B7
split-complementary
#9732B7 #94B732 #32B754
monochromatic
#481857 #6F2587 #9732B7 #B356D1 #C986DE

Accessibility & contrast

On white

6.08
#9732B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9732B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9732B7#FFFFFF#000000##FFFFFF
##9732B71.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#954E72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9732b7;
/* rgb */ color: rgb(151, 50, 183);
/* oklch */ color: oklch(52.4% 0.208 316.7);
Tailwind
colors: {
  custom: {
    50: '#ba74cd',
    500: '#9732b7',
    950: '#000000',
  },
}
SCSS
$custom: #9732b7;
$custom-light: #ba74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9732b7",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 285.564,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.20763,
    "h": 316.7
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#9732B7
secondary
#8FC77D
accent
#E0476C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9732B7

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

Preview Lab → · Contrast checker → · Palette generator →

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