#9732BD#9732BD

#9732BD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 314.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9732BD
RGBrgb(151, 50, 189)
HSLhsl(284, 58%, 47%)
HSVhsv(284, 74%, 74%)
CMYKcmyk(20.1%, 73.5%, 0%, 25.9%)
CIE-LABlab(42.05, 61.73, -53.52)
CIE-LCHlch(42.05, 81.70, 319.08°)
OKLaboklab(52.79% 0.1504 -0.1509)
OKLCHoklch(52.79% 0.213 314.9)
XYZxyz(23.0869, 12.5355, 49.3377)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732BD #58BD32
analogous
#5232BD #9732BD #BD329E
triadic
#9732BD #BD9732 #32BD97
tetradic
#9732BD #BD5232 #58BD32 #329EBD
square
#9732BD #BD5232 #58BD32 #329EBD
split-complementary
#9732BD #9EBD32 #32BD52
monochromatic
#4A185C #70258D #9732BD #B259D3 #C889E0

Accessibility & contrast

On white

5.99
#9732BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9732BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732BD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732BD#FFFFFF#000000##FFFFFF
##9732BD1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#945075
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9732bd;
/* rgb */ color: rgb(151, 50, 189);
/* oklch */ color: oklch(52.8% 0.213 314.9);
Tailwind
colors: {
  custom: {
    50: '#ba74d2',
    500: '#9732bd',
    950: '#000000',
  },
}
SCSS
$custom: #9732bd;
$custom-light: #ba74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9732bd",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 283.597,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.21303,
    "h": 314.9
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#9732BD
secondary
#95CA81
accent
#E14671
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9732BD

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

Preview Lab → · Contrast checker → · Palette generator →

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