#9732A2#9732A2

#9732A2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.189 H 323.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9732A2
RGBrgb(151, 50, 162)
HSLhsl(294, 53%, 42%)
HSVhsv(294, 69%, 64%)
CMYKcmyk(6.8%, 69.1%, 0%, 36.5%)
CIE-LABlab(40.36, 56.54, -40.24)
CIE-LCHlch(40.36, 69.40, 324.56°)
OKLaboklab(51.04% 0.1523 -0.112)
OKLCHoklch(51.04% 0.189 323.7)
XYZxyz(20.4241, 11.4703, 35.3136)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9732A2 #3DA232
analogous
#5F32A2 #9732A2 #A23275
triadic
#9732A2 #A29732 #32A297
tetradic
#9732A2 #A25F32 #3DA232 #3275A2
square
#9732A2 #A25F32 #3DA232 #3275A2
split-complementary
#9732A2 #75A232 #32A25F
monochromatic
#401544 #6B2473 #9732A2 #BB4AC7 #CC79D6

Accessibility & contrast

On white

6.38
#9732A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9732A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9732A2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9732A2#FFFFFF#000000##FFFFFF
##9732A21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9A4566
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9732a2;
/* rgb */ color: rgb(151, 50, 162);
/* oklch */ color: oklch(51.0% 0.189 323.7);
Tailwind
colors: {
  custom: {
    50: '#b973be',
    500: '#9732a2',
    950: '#000000',
  },
}
SCSS
$custom: #9732a2;
$custom-light: #b973be;
$custom-dark: #000000;
JSON
{
  "hex": "#9732a2",
  "rgb": {
    "r": 151,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 294.107,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.18906,
    "h": 323.7
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#9732A2
secondary
#79BE72
accent
#DC4C5A
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9732A2

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

Preview Lab → · Contrast checker → · Palette generator →

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