#9727A1#9727A1

#9727A1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 324.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9727A1
RGBrgb(151, 39, 161)
HSLhsl(295, 61%, 39%)
HSVhsv(295, 76%, 63%)
CMYKcmyk(6.2%, 75.8%, 0%, 36.9%)
CIE-LABlab(38.91, 60.33, -41.96)
CIE-LCHlch(38.91, 73.49, 325.19°)
OKLaboklab(49.98% 0.1632 -0.117)
OKLCHoklch(49.98% 0.201 324.4)
XYZxyz(19.9205, 10.6048, 34.7090)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727A1 #31A127
analogous
#5A27A1 #9727A1 #A1276E
triadic
#9727A1 #A19727 #27A197
tetradic
#9727A1 #A15A27 #31A127 #276EA1
square
#9727A1 #A15A27 #31A127 #276EA1
split-complementary
#9727A1 #6EA127 #27A15A
monochromatic
#3B0F3E #691B70 #9727A1 #C237CE #D168DA

Accessibility & contrast

On white

6.73
#9727A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9727A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727A1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727A1#FFFFFF#000000##FFFFFF
##9727A11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#3F609E
Tritanopia (blue-blind)
#9A3D63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9727a1;
/* rgb */ color: rgb(151, 39, 161);
/* oklch */ color: oklch(50.0% 0.201 324.4);
Tailwind
colors: {
  custom: {
    50: '#b96ebd',
    500: '#9727a1',
    950: '#000000',
  },
}
SCSS
$custom: #9727a1;
$custom-light: #b96ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9727a1",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 295.082,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49978,
    "c": 0.20081,
    "h": 324.4
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#9727A1
secondary
#6BC063
accent
#E44451
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9727A1

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

Preview Lab → · Contrast checker → · Palette generator →

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