#9732B8#9732B8

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

Color values

HEX#9732B8
RGBrgb(151, 50, 184)
HSLhsl(285, 57%, 46%)
HSVhsv(285, 73%, 72%)
CMYKcmyk(17.9%, 72.8%, 0%, 27.8%)
CIE-LABlab(41.72, 60.74, -51.12)
CIE-LCHlch(41.72, 79.39, 319.92°)
OKLaboklab(52.45% 0.1509 -0.1439)
OKLCHoklch(52.45% 0.209 316.4)
XYZxyz(22.5535, 12.3221, 46.5285)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732B8 #53B832
analogous
#5432B8 #9732B8 #B83296
triadic
#9732B8 #B89732 #32B897
tetradic
#9732B8 #B85432 #53B832 #3296B8
square
#9732B8 #B85432 #53B832 #3296B8
split-complementary
#9732B8 #96B832 #32B854
monochromatic
#481858 #702588 #9732B8 #B356D1 #C986DE

Accessibility & contrast

On white

6.06
#9732B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9732B8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732B8#FFFFFF#000000##FFFFFF
##9732B81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#954E72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9732b8;
/* rgb */ color: rgb(151, 50, 184);
/* oklch */ color: oklch(52.4% 0.209 316.4);
Tailwind
colors: {
  custom: {
    50: '#ba74ce',
    500: '#9732b8',
    950: '#000000',
  },
}
SCSS
$custom: #9732b8;
$custom-light: #ba74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9732b8",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 285.224,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.20852,
    "h": 316.4
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#9732B8
secondary
#90C87E
accent
#E1476D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9732B8

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

Preview Lab → · Contrast checker → · Palette generator →

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