#9729B4#9729B4

#9729B4 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.215 H 318.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9729B4
RGBrgb(151, 41, 180)
HSLhsl(287, 63%, 43%)
HSVhsv(287, 77%, 71%)
CMYKcmyk(16.1%, 77.2%, 0%, 29.4%)
CIE-LABlab(40.35, 63.15, -50.98)
CIE-LCHlch(40.35, 81.16, 321.09°)
OKLaboklab(51.39% 0.1596 -0.1434)
OKLCHoklch(51.39% 0.215 318.1)
XYZxyz(21.7925, 11.4615, 44.2355)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729B4 #46B429
analogous
#5129B4 #9729B4 #B4298B
triadic
#9729B4 #B49729 #29B497
tetradic
#9729B4 #B45129 #46B429 #298BB4
square
#9729B4 #B45129 #46B429 #298BB4
split-complementary
#9729B4 #8BB429 #29B451
monochromatic
#431250 #6D1E82 #9729B4 #B745D5 #CA77E0

Accessibility & contrast

On white

6.38
#9729B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9729B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9729B4#FFFFFF#000000##FFFFFF
##9729B41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#96476E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9729b4;
/* rgb */ color: rgb(151, 41, 180);
/* oklch */ color: oklch(51.4% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba70cb',
    500: '#9729b4',
    950: '#000000',
  },
}
SCSS
$custom: #9729b4;
$custom-light: #ba70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9729b4",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 287.482,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.21457,
    "h": 318.1
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#9729B4
secondary
#83C871
accent
#E64264
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9729B4

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

Preview Lab → · Contrast checker → · Palette generator →

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