#9729AA#9729AA

#9729AA is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.206 H 321.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9729AA
RGBrgb(151, 41, 170)
HSLhsl(291, 61%, 41%)
HSVhsv(291, 76%, 67%)
CMYKcmyk(11.2%, 75.9%, 0%, 33.3%)
CIE-LABlab(39.70, 61.29, -46.08)
CIE-LCHlch(39.70, 76.68, 323.06°)
OKLaboklab(50.72% 0.1608 -0.1291)
OKLCHoklch(50.72% 0.206 321.2)
XYZxyz(20.8103, 11.0686, 39.0627)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729AA #3CAA29
analogous
#5729AA #9729AA #AA297D
triadic
#9729AA #AA9729 #29AA97
tetradic
#9729AA #AA5729 #3CAA29 #297DAA
square
#9729AA #AA5729 #3CAA29 #297DAA
split-complementary
#9729AA #7DAA29 #29AA57
monochromatic
#3F1147 #6B1D79 #9729AA #BB3FD1 #CD71DD

Accessibility & contrast

On white

6.54
#9729AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9729AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9729AA#FFFFFF#000000##FFFFFF
##9729AA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#984368
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9729aa;
/* rgb */ color: rgb(151, 41, 170);
/* oklch */ color: oklch(50.7% 0.206 321.2);
Tailwind
colors: {
  custom: {
    50: '#b96fc4',
    500: '#9729aa',
    950: '#000000',
  },
}
SCSS
$custom: #9729aa;
$custom-light: #b96fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9729aa",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 291.163,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.20616,
    "h": 321.2
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#9729AA
secondary
#78C46B
accent
#E4445B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9729AA

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

Preview Lab → · Contrast checker → · Palette generator →

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