#9732B2#9732B2

#9732B2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.0% C 0.203 H 318.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9732B2
RGBrgb(151, 50, 178)
HSLhsl(287, 56%, 45%)
HSVhsv(287, 72%, 70%)
CMYKcmyk(15.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(41.34, 59.57, -48.20)
CIE-LCHlch(41.34, 76.63, 321.02°)
OKLaboklab(52.05% 0.1515 -0.1353)
OKLCHoklch(52.05% 0.203 318.2)
XYZxyz(21.9379, 12.0759, 43.2862)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732B2 #4DB232
analogous
#5732B2 #9732B2 #B2328D
triadic
#9732B2 #B29732 #32B297
tetradic
#9732B2 #B25732 #4DB232 #328DB2
square
#9732B2 #B25732 #4DB232 #328DB2
split-complementary
#9732B2 #8DB232 #32B257
monochromatic
#461752 #6E2582 #9732B2 #B453CF #C982DC

Accessibility & contrast

On white

6.15
#9732B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9732B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732B2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732B2#FFFFFF#000000##FFFFFF
##9732B21.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#964B6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9732b2;
/* rgb */ color: rgb(151, 50, 178);
/* oklch */ color: oklch(52.0% 0.203 318.2);
Tailwind
colors: {
  custom: {
    50: '#b973ca',
    500: '#9732b2',
    950: '#000000',
  },
}
SCSS
$custom: #9732b2;
$custom-light: #b973ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9732b2",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 287.344,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.20316,
    "h": 318.2
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#9732B2
secondary
#8AC57B
accent
#DF4868
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9732B2

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

Preview Lab → · Contrast checker → · Palette generator →

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