#9728A0#9728A0

#9728A0 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.199 H 324.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9728A0
RGBrgb(151, 40, 160)
HSLhsl(296, 60%, 39%)
HSVhsv(296, 75%, 63%)
CMYKcmyk(5.6%, 75%, 0%, 37.3%)
CIE-LABlab(38.96, 59.83, -41.27)
CIE-LCHlch(38.96, 72.68, 325.40°)
OKLaboklab(50% 0.1624 -0.115)
OKLCHoklch(50% 0.199 324.7)
XYZxyz(19.8660, 10.6362, 34.2575)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728A0 #31A028
analogous
#5B28A0 #9728A0 #A0286D
triadic
#9728A0 #A09728 #28A097
tetradic
#9728A0 #A05B28 #31A028 #286DA0
square
#9728A0 #A05B28 #31A028 #286DA0
split-complementary
#9728A0 #6DA028 #28A05B
monochromatic
#3B103E #691C6F #9728A0 #C238CD #D169D9

Accessibility & contrast

On white

6.72
#9728A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9728A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9728A0#FFFFFF#000000##FFFFFF
##9728A01.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#40609D
Tritanopia (blue-blind)
#9A3D62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9728a0;
/* rgb */ color: rgb(151, 40, 160);
/* oklch */ color: oklch(50.0% 0.199 324.7);
Tailwind
colors: {
  custom: {
    50: '#b96ebd',
    500: '#9728a0',
    950: '#000000',
  },
}
SCSS
$custom: #9728a0;
$custom-light: #b96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9728a0",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 295.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.19895,
    "h": 324.7
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#9728A0
secondary
#6BC064
accent
#E34551
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9728A0

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

Preview Lab → · Contrast checker → · Palette generator →

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