#9728A9#9728A9

#9728A9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.206 H 321.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9728A9
RGBrgb(151, 40, 169)
HSLhsl(292, 62%, 41%)
HSVhsv(292, 76%, 66%)
CMYKcmyk(10.7%, 76.3%, 0%, 33.7%)
CIE-LABlab(39.52, 61.44, -45.77)
CIE-LCHlch(39.52, 76.62, 323.31°)
OKLaboklab(50.57% 0.1617 -0.1281)
OKLCHoklch(50.57% 0.206 321.6)
XYZxyz(20.6819, 10.9626, 38.5550)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728A9 #3AA928
analogous
#5628A9 #9728A9 #A9287A
triadic
#9728A9 #A99728 #28A997
tetradic
#9728A9 #A95628 #3AA928 #287AA9
square
#9728A9 #A95628 #3AA928 #287AA9
split-complementary
#9728A9 #7AA928 #28A956
monochromatic
#3F1146 #6B1C78 #9728A9 #BC3DD1 #CD6FDD

Accessibility & contrast

On white

6.58
#9728A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9728A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9728A9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9728A9#FFFFFF#000000##FFFFFF
##9728A91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#3961A6
Tritanopia (blue-blind)
#984267
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9728a9;
/* rgb */ color: rgb(151, 40, 169);
/* oklch */ color: oklch(50.6% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#b96fc3',
    500: '#9728a9',
    950: '#000000',
  },
}
SCSS
$custom: #9728a9;
$custom-light: #b96fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9728a9",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 291.628,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.20635,
    "h": 321.6
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#9728A9
secondary
#76C469
accent
#E5435A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9728A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9728A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva