#9728B9#9728B9

#9728B9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.220 H 316.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9728B9
RGBrgb(151, 40, 185)
HSLhsl(286, 64%, 44%)
HSVhsv(286, 78%, 73%)
CMYKcmyk(18.4%, 78.4%, 0%, 27.5%)
CIE-LABlab(40.57, 64.42, -53.56)
CIE-LCHlch(40.57, 83.78, 320.26°)
OKLaboklab(51.65% 0.1597 -0.151)
OKLCHoklch(51.65% 0.22 316.6)
XYZxyz(22.2769, 11.6006, 46.9552)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728B9 #4AB928
analogous
#4F28B9 #9728B9 #B92893
triadic
#9728B9 #B99728 #28B997
tetradic
#9728B9 #B94F28 #4AB928 #2893B9
square
#9728B9 #B94F28 #4AB928 #2893B9
split-complementary
#9728B9 #93B928 #28B94F
monochromatic
#451254 #6E1D87 #9728B9 #B547D7 #CA79E2

Accessibility & contrast

On white

6.33
#9728B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9728B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9728B9#FFFFFF#000000##FFFFFF
##9728B91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#954970
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9728b9;
/* rgb */ color: rgb(151, 40, 185);
/* oklch */ color: oklch(51.7% 0.220 316.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fcf',
    500: '#9728b9',
    950: '#000000',
  },
}
SCSS
$custom: #9728b9;
$custom-light: #ba6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9728b9",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 285.931,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.21978,
    "h": 316.6
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#9728B9
secondary
#87CA73
accent
#E74068
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9728B9

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

Preview Lab → · Contrast checker → · Palette generator →

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