#9729B6#9729B6

#9729B6 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.216 H 317.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9729B6
RGBrgb(151, 41, 182)
HSLhsl(287, 63%, 44%)
HSVhsv(287, 77%, 71%)
CMYKcmyk(17%, 77.5%, 0%, 28.6%)
CIE-LABlab(40.48, 63.53, -51.94)
CIE-LCHlch(40.48, 82.06, 320.73°)
OKLaboklab(51.52% 0.1594 -0.1462)
OKLCHoklch(51.52% 0.216 317.5)
XYZxyz(21.9977, 11.5436, 45.3163)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729B6 #48B629
analogous
#5129B6 #9729B6 #B6298E
triadic
#9729B6 #B69729 #29B697
tetradic
#9729B6 #B65129 #48B629 #298EB6
square
#9729B6 #B65129 #48B629 #298EB6
split-complementary
#9729B6 #8EB629 #29B651
monochromatic
#441252 #6E1E84 #9729B6 #B647D5 #CA79E1

Accessibility & contrast

On white

6.35
#9729B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9729B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9729B6
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9729B6#FFFFFF#000000##FFFFFF
##9729B61.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#96486F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9729b6;
/* rgb */ color: rgb(151, 41, 182);
/* oklch */ color: oklch(51.5% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#ba70cd',
    500: '#9729b6',
    950: '#000000',
  },
}
SCSS
$custom: #9729b6;
$custom-light: #ba70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9729b6",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 286.809,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.21627,
    "h": 317.5
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#9729B6
secondary
#85C972
accent
#E64266
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9729B6

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

Preview Lab → · Contrast checker → · Palette generator →

#9729B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva