#9729BC#9729BC

#9729BC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.221 H 315.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9729BC
RGBrgb(151, 41, 188)
HSLhsl(285, 64%, 45%)
HSVhsv(285, 78%, 74%)
CMYKcmyk(19.7%, 78.2%, 0%, 26.3%)
CIE-LABlab(40.89, 64.68, -54.81)
CIE-LCHlch(40.89, 84.78, 319.72°)
OKLaboklab(51.94% 0.1584 -0.1546)
OKLCHoklch(51.94% 0.221 315.7)
XYZxyz(22.6311, 11.7969, 48.6521)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729BC #4EBC29
analogous
#4E29BC #9729BC #BC2997
triadic
#9729BC #BC9729 #29BC97
tetradic
#9729BC #BC4E29 #4EBC29 #2997BC
square
#9729BC #BC4E29 #4EBC29 #2997BC
split-complementary
#9729BC #97BC29 #29BC4E
monochromatic
#461358 #6F1E8A #9729BC #B44BD8 #C97DE3

Accessibility & contrast

On white

6.25
#9729BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9729BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9729BC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9729BC#FFFFFF#000000##FFFFFF
##9729BC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#944B72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9729bc;
/* rgb */ color: rgb(151, 41, 188);
/* oklch */ color: oklch(51.9% 0.221 315.7);
Tailwind
colors: {
  custom: {
    50: '#ba70d1',
    500: '#9729bc',
    950: '#000000',
  },
}
SCSS
$custom: #9729bc;
$custom-light: #ba70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9729bc",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 284.898,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.22139,
    "h": 315.7
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#9729BC
secondary
#8BCB76
accent
#E7416B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9729BC

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

Preview Lab → · Contrast checker → · Palette generator →

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