#9732A7#9732A7

#9732A7 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.193 H 321.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9732A7
RGBrgb(151, 50, 167)
HSLhsl(292, 54%, 43%)
HSVhsv(292, 70%, 65%)
CMYKcmyk(9.6%, 70.1%, 0%, 34.5%)
CIE-LABlab(40.66, 57.47, -42.76)
CIE-LCHlch(40.66, 71.63, 323.35°)
OKLaboklab(51.34% 0.1522 -0.1194)
OKLCHoklch(51.34% 0.193 321.9)
XYZxyz(20.8774, 11.6517, 37.7010)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732A7 #42A732
analogous
#5D32A7 #9732A7 #A7327C
triadic
#9732A7 #A79732 #32A797
tetradic
#9732A7 #A75D32 #42A732 #327CA7
square
#9732A7 #A75D32 #42A732 #327CA7
split-complementary
#9732A7 #7CA732 #32A75D
monochromatic
#421649 #6C2478 #9732A7 #B84DCA #CB7CD8

Accessibility & contrast

On white

6.31
#9732A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9732A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9732A7#FFFFFF#000000##FFFFFF
##9732A71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0559AA
Deuteranopia (green-blind)
#4164A4
Tritanopia (blue-blind)
#994769
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9732a7;
/* rgb */ color: rgb(151, 50, 167);
/* oklch */ color: oklch(51.3% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#b973c2',
    500: '#9732a7',
    950: '#000000',
  },
}
SCSS
$custom: #9732a7;
$custom-light: #b973c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9732a7",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 291.795,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.19342,
    "h": 321.9
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#9732A7
secondary
#7FC074
accent
#DD4B5F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9732A7

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

Preview Lab → · Contrast checker → · Palette generator →

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