#9727A5#9727A5

#9727A5 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.204 H 323.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9727A5
RGBrgb(151, 39, 165)
HSLhsl(293, 62%, 40%)
HSVhsv(293, 76%, 65%)
CMYKcmyk(8.5%, 76.4%, 0%, 35.3%)
CIE-LABlab(39.15, 61.04, -43.96)
CIE-LCHlch(39.15, 75.23, 324.24°)
OKLaboklab(50.23% 0.163 -0.1228)
OKLCHoklch(50.23% 0.204 323)
XYZxyz(20.2789, 10.7482, 36.5965)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727A5 #35A527
analogous
#5827A5 #9727A5 #A52774
triadic
#9727A5 #A59727 #27A597
tetradic
#9727A5 #A55827 #35A527 #2774A5
square
#9727A5 #A55827 #35A527 #2774A5
split-complementary
#9727A5 #74A527 #27A558
monochromatic
#3C1042 #6A1B74 #9727A5 #BF39D0 #CF6ADC

Accessibility & contrast

On white

6.67
#9727A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9727A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727A5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727A5#FFFFFF#000000##FFFFFF
##9727A51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#993F65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9727a5;
/* rgb */ color: rgb(151, 39, 165);
/* oklch */ color: oklch(50.2% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#b96ec0',
    500: '#9727a5',
    950: '#000000',
  },
}
SCSS
$custom: #9727a5;
$custom-light: #b96ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9727a5",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 293.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.20407,
    "h": 323
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#9727A5
secondary
#70C266
accent
#E54355
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9727A5

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

Preview Lab → · Contrast checker → · Palette generator →

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