#9729BB#9729BB

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

Color values

HEX#9729BB
RGBrgb(151, 41, 187)
HSLhsl(285, 64%, 45%)
HSVhsv(285, 78%, 73%)
CMYKcmyk(19.3%, 78.1%, 0%, 26.7%)
CIE-LABlab(40.82, 64.49, -54.34)
CIE-LCHlch(40.82, 84.33, 319.88°)
OKLaboklab(51.87% 0.1586 -0.1532)
OKLCHoklch(51.87% 0.221 316)
XYZxyz(22.5237, 11.7539, 48.0864)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9729BB #4DBB29
analogous
#4E29BB #9729BB #BB2996
triadic
#9729BB #BB9729 #29BB97
tetradic
#9729BB #BB4E29 #4DBB29 #2996BB
square
#9729BB #BB4E29 #4DBB29 #2996BB
split-complementary
#9729BB #96BB29 #29BB4E
monochromatic
#461357 #6E1E89 #9729BB #B44AD7 #C97CE2

Accessibility & contrast

On white

6.27
#9729BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9729BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9729BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9729BB#FFFFFF#000000##FFFFFF
##9729BB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#944B72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9729bb;
/* rgb */ color: rgb(151, 41, 187);
/* oklch */ color: oklch(51.9% 0.221 316.0);
Tailwind
colors: {
  custom: {
    50: '#ba70d0',
    500: '#9729bb',
    950: '#000000',
  },
}
SCSS
$custom: #9729bb;
$custom-light: #ba70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9729bb",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 285.205,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.22054,
    "h": 316
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#9729BB
secondary
#8ACB75
accent
#E7416A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9729BB

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

Preview Lab → · Contrast checker → · Palette generator →

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