#9727A6#9727A6

#9727A6 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 322.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9727A6
RGBrgb(151, 39, 166)
HSLhsl(293, 62%, 40%)
HSVhsv(293, 77%, 65%)
CMYKcmyk(9%, 76.5%, 0%, 34.9%)
CIE-LABlab(39.22, 61.22, -44.46)
CIE-LCHlch(39.22, 75.66, 324.01°)
OKLaboklab(50.3% 0.1629 -0.1243)
OKLCHoklch(50.3% 0.205 322.6)
XYZxyz(20.3703, 10.7847, 37.0777)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727A6 #36A627
analogous
#5727A6 #9727A6 #A62776
triadic
#9727A6 #A69727 #27A697
tetradic
#9727A6 #A65727 #36A627 #2776A6
square
#9727A6 #A65727 #36A627 #2776A6
split-complementary
#9727A6 #76A627 #27A657
monochromatic
#3D1043 #6A1B74 #9727A6 #BF3AD1 #CF6BDC

Accessibility & contrast

On white

6.65
#9727A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9727A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727A6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727A6#FFFFFF#000000##FFFFFF
##9727A61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3B61A3
Tritanopia (blue-blind)
#994065
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9727a6;
/* rgb */ color: rgb(151, 39, 166);
/* oklch */ color: oklch(50.3% 0.205 322.6);
Tailwind
colors: {
  custom: {
    50: '#b96ec1',
    500: '#9727a6',
    950: '#000000',
  },
}
SCSS
$custom: #9727a6;
$custom-light: #b96ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9727a6",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 292.913,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50296,
    "c": 0.20489,
    "h": 322.6
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#9727A6
secondary
#71C366
accent
#E54356
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9727A6

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

Preview Lab → · Contrast checker → · Palette generator →

#9727A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva