#9729A1#9729A1

#9729A1 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.199 H 324.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9729A1
RGBrgb(151, 41, 161)
HSLhsl(295, 59%, 40%)
HSVhsv(295, 75%, 63%)
CMYKcmyk(6.2%, 74.5%, 0%, 36.9%)
CIE-LABlab(39.14, 59.67, -41.59)
CIE-LCHlch(39.14, 72.73, 325.13°)
OKLaboklab(50.14% 0.1614 -0.1159)
OKLCHoklch(50.14% 0.199 324.3)
XYZxyz(19.9879, 10.7397, 34.7315)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729A1 #33A129
analogous
#5B29A1 #9729A1 #A1296F
triadic
#9729A1 #A19729 #29A197
tetradic
#9729A1 #A15B29 #33A129 #296FA1
square
#9729A1 #A15B29 #33A129 #296FA1
split-complementary
#9729A1 #6FA129 #29A15B
monochromatic
#3C103F #691D70 #9729A1 #C13ACD #D06BD9

Accessibility & contrast

On white

6.67
#9729A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9729A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9729A1#FFFFFF#000000##FFFFFF
##9729A11.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#40619E
Tritanopia (blue-blind)
#9A3F63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9729a1;
/* rgb */ color: rgb(151, 41, 161);
/* oklch */ color: oklch(50.1% 0.199 324.3);
Tailwind
colors: {
  custom: {
    50: '#b96fbd',
    500: '#9729a1',
    950: '#000000',
  },
}
SCSS
$custom: #9729a1;
$custom-light: #b96fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9729a1",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 295,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.1987,
    "h": 324.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#9729A1
secondary
#6DC066
accent
#E34552
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9729A1

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

Preview Lab → · Contrast checker → · Palette generator →

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