#9729AC#9729AC

#9729AC is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.208 H 320.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9729AC
RGBrgb(151, 41, 172)
HSLhsl(290, 62%, 42%)
HSVhsv(290, 76%, 67%)
CMYKcmyk(12.2%, 76.2%, 0%, 32.5%)
CIE-LABlab(39.82, 61.66, -47.07)
CIE-LCHlch(39.82, 77.57, 322.64°)
OKLaboklab(50.85% 0.1606 -0.132)
OKLCHoklch(50.85% 0.208 320.6)
XYZxyz(21.0009, 11.1449, 40.0667)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729AC #3EAC29
analogous
#5629AC #9729AC #AC2980
triadic
#9729AC #AC9729 #29AC97
tetradic
#9729AC #AC5629 #3EAC29 #2980AC
square
#9729AC #AC5629 #3EAC29 #2980AC
split-complementary
#9729AC #80AC29 #29AC56
monochromatic
#401149 #6C1D7B #9729AC #BA41D2 #CC72DD

Accessibility & contrast

On white

6.50
#9729AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9729AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9729AC#FFFFFF#000000##FFFFFF
##9729AC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#3762A9
Tritanopia (blue-blind)
#984469
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9729ac;
/* rgb */ color: rgb(151, 41, 172);
/* oklch */ color: oklch(50.8% 0.208 320.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fc5',
    500: '#9729ac',
    950: '#000000',
  },
}
SCSS
$custom: #9729ac;
$custom-light: #ba6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9729ac",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 290.382,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.20783,
    "h": 320.6
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#9729AC
secondary
#7AC56C
accent
#E5435D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9729AC

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

Preview Lab → · Contrast checker → · Palette generator →

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