#9729AD#9729AD

#9729AD is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.209 H 320.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9729AD
RGBrgb(151, 41, 173)
HSLhsl(290, 62%, 42%)
HSVhsv(290, 76%, 68%)
CMYKcmyk(12.7%, 76.3%, 0%, 32.2%)
CIE-LABlab(39.89, 61.84, -47.56)
CIE-LCHlch(39.89, 78.02, 322.44°)
OKLaboklab(50.92% 0.1605 -0.1334)
OKLCHoklch(50.92% 0.209 320.3)
XYZxyz(21.0973, 11.1834, 40.5744)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729AD #3FAD29
analogous
#5529AD #9729AD #AD2981
triadic
#9729AD #AD9729 #29AD97
tetradic
#9729AD #AD5529 #3FAD29 #2981AD
square
#9729AD #AD5529 #3FAD29 #2981AD
split-complementary
#9729AD #81AD29 #29AD55
monochromatic
#41124A #6C1D7C #9729AD #BA41D2 #CC73DE

Accessibility & contrast

On white

6.49
#9729AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9729AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9729AD#FFFFFF#000000##FFFFFF
##9729AD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3662AA
Tritanopia (blue-blind)
#98446A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9729ad;
/* rgb */ color: rgb(151, 41, 173);
/* oklch */ color: oklch(50.9% 0.209 320.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fc6',
    500: '#9729ad',
    950: '#000000',
  },
}
SCSS
$custom: #9729ad;
$custom-light: #ba6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9729ad",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 290,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.20867,
    "h": 320.3
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#9729AD
secondary
#7CC56D
accent
#E5435E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9729AD

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

Preview Lab → · Contrast checker → · Palette generator →

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