#9727B6#9727B6

#9727B6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.218 H 317.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9727B6
RGBrgb(151, 39, 182)
HSLhsl(287, 65%, 43%)
HSVhsv(287, 79%, 71%)
CMYKcmyk(17%, 78.6%, 0%, 28.6%)
CIE-LABlab(40.26, 64.17, -52.30)
CIE-LCHlch(40.26, 82.78, 320.82°)
OKLaboklab(51.37% 0.161 -0.1473)
OKLCHoklch(51.37% 0.218 317.6)
XYZxyz(21.9303, 11.4087, 45.2938)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727B6 #46B627
analogous
#4F27B6 #9727B6 #B6278D
triadic
#9727B6 #B69727 #27B697
tetradic
#9727B6 #B64F27 #46B627 #278DB6
square
#9727B6 #B64F27 #46B627 #278DB6
split-complementary
#9727B6 #8DB627 #27B64F
monochromatic
#431151 #6D1C84 #9727B6 #B743D7 #CA76E2

Accessibility & contrast

On white

6.40
#9727B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9727B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727B6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727B6#FFFFFF#000000##FFFFFF
##9727B61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2B62B3
Tritanopia (blue-blind)
#96476F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9727b6;
/* rgb */ color: rgb(151, 39, 182);
/* oklch */ color: oklch(51.4% 0.218 317.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fcd',
    500: '#9727b6',
    950: '#000000',
  },
}
SCSS
$custom: #9727b6;
$custom-light: #ba6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9727b6",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 286.993,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.21818,
    "h": 317.6
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#9727B6
secondary
#83C970
accent
#E84064
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9727B6

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

Preview Lab → · Contrast checker → · Palette generator →

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