#9729A2#9729A2

#9729A2 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.200 H 324.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9729A2
RGBrgb(151, 41, 162)
HSLhsl(295, 60%, 40%)
HSVhsv(295, 75%, 64%)
CMYKcmyk(6.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(39.20, 59.85, -42.09)
CIE-LCHlch(39.20, 73.17, 324.88°)
OKLaboklab(50.21% 0.1613 -0.1174)
OKLCHoklch(50.21% 0.2 324)
XYZxyz(20.0765, 10.7751, 35.1978)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729A2 #34A229
analogous
#5A29A2 #9729A2 #A22971
triadic
#9729A2 #A29729 #29A297
tetradic
#9729A2 #A25A29 #34A229 #2971A2
square
#9729A2 #A25A29 #34A229 #2971A2
split-complementary
#9729A2 #71A229 #29A25A
monochromatic
#3C1040 #691D71 #9729A2 #C03BCD #D06CDA

Accessibility & contrast

On white

6.66
#9729A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9729A2#FFFFFF#000000##FFFFFF
##9729A21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3F619F
Tritanopia (blue-blind)
#9A3F64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9729a2;
/* rgb */ color: rgb(151, 41, 162);
/* oklch */ color: oklch(50.2% 0.200 324.0);
Tailwind
colors: {
  custom: {
    50: '#b96fbe',
    500: '#9729a2',
    950: '#000000',
  },
}
SCSS
$custom: #9729a2;
$custom-light: #b96fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9729a2",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 294.545,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.19953,
    "h": 324
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#9729A2
secondary
#6FC067
accent
#E34553
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9729A2

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

Preview Lab → · Contrast checker → · Palette generator →

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