#9732C7#9732C7

#9732C7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.222 H 312.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9732C7
RGBrgb(151, 50, 199)
HSLhsl(281, 60%, 49%)
HSVhsv(281, 75%, 78%)
CMYKcmyk(24.1%, 74.9%, 0%, 22%)
CIE-LABlab(42.74, 63.76, -58.25)
CIE-LCHlch(42.74, 86.36, 317.59°)
OKLaboklab(53.49% 0.1489 -0.1648)
OKLCHoklch(53.49% 0.222 312.1)
XYZxyz(24.2100, 12.9847, 55.2527)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732C7 #62C732
analogous
#4D32C7 #9732C7 #C732AD
triadic
#9732C7 #C79732 #32C797
tetradic
#9732C7 #C74D32 #62C732 #32ADC7
square
#9732C7 #C74D32 #62C732 #32ADC7
split-complementary
#9732C7 #ADC732 #32C74D
monochromatic
#4D1965 #722696 #9732C7 #B05FD7 #C890E3

Accessibility & contrast

On white

5.84
#9732C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9732C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9732C7#FFFFFF#000000##FFFFFF
##9732C71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#1B67C4
Tritanopia (blue-blind)
#91547B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9732c7;
/* rgb */ color: rgb(151, 50, 199);
/* oklch */ color: oklch(53.5% 0.222 312.1);
Tailwind
colors: {
  custom: {
    50: '#ba74d9',
    500: '#9732c7',
    950: '#000000',
  },
}
SCSS
$custom: #9732c7;
$custom-light: #ba74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9732c7",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 280.671,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.22209,
    "h": 312.1
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#9732C7
secondary
#9ECE87
accent
#E34578
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9732C7

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

Preview Lab → · Contrast checker → · Palette generator →

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