#9728AF#9728AF

#9728AF is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.211 H 319.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9728AF
RGBrgb(151, 40, 175)
HSLhsl(289, 63%, 42%)
HSVhsv(289, 77%, 69%)
CMYKcmyk(13.7%, 77.1%, 0%, 31.4%)
CIE-LABlab(39.90, 62.54, -48.73)
CIE-LCHlch(39.90, 79.28, 322.08°)
OKLaboklab(50.97% 0.1611 -0.1368)
OKLCHoklch(50.97% 0.211 319.7)
XYZxyz(21.2582, 11.1931, 41.5899)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9728AF #40AF28
analogous
#5328AF #9728AF #AF2884
triadic
#9728AF #AF9728 #28AF97
tetradic
#9728AF #AF5328 #40AF28 #2884AF
square
#9728AF #AF5328 #40AF28 #2884AF
split-complementary
#9728AF #84AF28 #28AF53
monochromatic
#41114B #6C1D7D #9728AF #B941D4 #CC73DF

Accessibility & contrast

On white

6.48
#9728AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9728AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9728AF#FFFFFF#000000##FFFFFF
##9728AF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#97456B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9728af;
/* rgb */ color: rgb(151, 40, 175);
/* oklch */ color: oklch(51.0% 0.211 319.7);
Tailwind
colors: {
  custom: {
    50: '#ba6fc7',
    500: '#9728af',
    950: '#000000',
  },
}
SCSS
$custom: #9728af;
$custom-light: #ba6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9728af",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 289.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.21135,
    "h": 319.7
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#9728AF
secondary
#7DC66D
accent
#E6425F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9728AF

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

Preview Lab → · Contrast checker → · Palette generator →

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