#9728A5#9728A5

#9728A5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 323.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9728A5
RGBrgb(151, 40, 165)
HSLhsl(293, 61%, 40%)
HSVhsv(293, 76%, 65%)
CMYKcmyk(8.5%, 75.8%, 0%, 35.3%)
CIE-LABlab(39.27, 60.72, -43.78)
CIE-LCHlch(39.27, 74.86, 324.20°)
OKLaboklab(50.31% 0.1621 -0.1223)
OKLCHoklch(50.31% 0.203 323)
XYZxyz(20.3122, 10.8147, 36.6076)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728A5 #36A528
analogous
#5828A5 #9728A5 #A52874
triadic
#9728A5 #A59728 #28A597
tetradic
#9728A5 #A55828 #36A528 #2874A5
square
#9728A5 #A55828 #36A528 #2874A5
split-complementary
#9728A5 #74A528 #28A558
monochromatic
#3D1042 #6A1C74 #9728A5 #BF3BCF #CF6CDB

Accessibility & contrast

On white

6.64
#9728A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9728A5#FFFFFF#000000##FFFFFF
##9728A51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#994065
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9728a5;
/* rgb */ color: rgb(151, 40, 165);
/* oklch */ color: oklch(50.3% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#b96ec0',
    500: '#9728a5',
    950: '#000000',
  },
}
SCSS
$custom: #9728a5;
$custom-light: #b96ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9728a5",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 293.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.20304,
    "h": 323
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#9728A5
secondary
#71C267
accent
#E44456
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9728A5

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

Preview Lab → · Contrast checker → · Palette generator →

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