#9728AA#9728AA

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

Color values

HEX#9728AA
RGBrgb(151, 40, 170)
HSLhsl(291, 62%, 41%)
HSVhsv(291, 76%, 67%)
CMYKcmyk(11.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(39.58, 61.62, -46.27)
CIE-LCHlch(39.58, 77.06, 323.10°)
OKLaboklab(50.64% 0.1616 -0.1296)
OKLCHoklch(50.64% 0.207 321.3)
XYZxyz(20.7762, 11.0003, 39.0514)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728AA #3BAA28
analogous
#5628AA #9728AA #AA287C
triadic
#9728AA #AA9728 #28AA97
tetradic
#9728AA #AA5628 #3BAA28 #287CAA
square
#9728AA #AA5628 #3BAA28 #287CAA
split-complementary
#9728AA #7CAA28 #28AA56
monochromatic
#3F1147 #6B1C78 #9728AA #BC3ED2 #CD6FDD

Accessibility & contrast

On white

6.56
#9728AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9728AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9728AA#FFFFFF#000000##FFFFFF
##9728AA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#984268
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9728aa;
/* rgb */ color: rgb(151, 40, 170);
/* oklch */ color: oklch(50.6% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fc4',
    500: '#9728aa',
    950: '#000000',
  },
}
SCSS
$custom: #9728aa;
$custom-light: #ba6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9728aa",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 291.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.20717,
    "h": 321.3
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#9728AA
secondary
#77C46A
accent
#E5435B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9728AA

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

Preview Lab → · Contrast checker → · Palette generator →

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