#9728A3#9728A3

#9728A3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.201 H 323.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9728A3
RGBrgb(151, 40, 163)
HSLhsl(294, 61%, 40%)
HSVhsv(294, 75%, 64%)
CMYKcmyk(7.4%, 75.5%, 0%, 36.1%)
CIE-LABlab(39.14, 60.36, -42.78)
CIE-LCHlch(39.14, 73.98, 324.67°)
OKLaboklab(50.19% 0.1622 -0.1194)
OKLCHoklch(50.19% 0.201 323.6)
XYZxyz(20.1316, 10.7425, 35.6564)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728A3 #34A328
analogous
#5928A3 #9728A3 #A32872
triadic
#9728A3 #A39728 #28A397
tetradic
#9728A3 #A35928 #34A328 #2872A3
square
#9728A3 #A35928 #34A328 #2872A3
split-complementary
#9728A3 #72A328 #28A359
monochromatic
#3C1041 #691C72 #9728A3 #C03ACF #D06BDB

Accessibility & contrast

On white

6.67
#9728A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9728A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9728A3#FFFFFF#000000##FFFFFF
##9728A31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#3E61A0
Tritanopia (blue-blind)
#9A3F64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9728a3;
/* rgb */ color: rgb(151, 40, 163);
/* oklch */ color: oklch(50.2% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#b96ebf',
    500: '#9728a3',
    950: '#000000',
  },
}
SCSS
$custom: #9728a3;
$custom-light: #b96ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9728a3",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 294.146,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.2014,
    "h": 323.6
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#9728A3
secondary
#6FC166
accent
#E44454
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9728A3

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

Preview Lab → · Contrast checker → · Palette generator →

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