#9728A4#9728A4

#9728A4 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.202 H 323.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9728A4
RGBrgb(151, 40, 164)
HSLhsl(294, 61%, 40%)
HSVhsv(294, 76%, 64%)
CMYKcmyk(7.9%, 75.6%, 0%, 35.7%)
CIE-LABlab(39.20, 60.54, -43.28)
CIE-LCHlch(39.20, 74.42, 324.44°)
OKLaboklab(50.25% 0.1621 -0.1209)
OKLCHoklch(50.25% 0.202 323.3)
XYZxyz(20.2215, 10.7785, 36.1301)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728A4 #35A428
analogous
#5928A4 #9728A4 #A42873
triadic
#9728A4 #A49728 #28A497
tetradic
#9728A4 #A45928 #35A428 #2873A4
square
#9728A4 #A45928 #35A428 #2873A4
split-complementary
#9728A4 #73A428 #28A459
monochromatic
#3C1042 #6A1C73 #9728A4 #BF3ACF #CF6BDB

Accessibility & contrast

On white

6.66
#9728A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9728A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9728A4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9728A4#FFFFFF#000000##FFFFFF
##9728A41.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#3D61A1
Tritanopia (blue-blind)
#993F65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9728a4;
/* rgb */ color: rgb(151, 40, 164);
/* oklch */ color: oklch(50.2% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#b96ebf',
    500: '#9728a4',
    950: '#000000',
  },
}
SCSS
$custom: #9728a4;
$custom-light: #b96ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9728a4",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 293.71,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.20222,
    "h": 323.3
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#9728A4
secondary
#70C166
accent
#E44455
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9728A4

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

Preview Lab → · Contrast checker → · Palette generator →

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