#9727BA#9727BA

#9727BA is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.222 H 316.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9727BA
RGBrgb(151, 39, 186)
HSLhsl(286, 65%, 44%)
HSVhsv(286, 79%, 73%)
CMYKcmyk(18.8%, 79%, 0%, 27.1%)
CIE-LABlab(40.53, 64.93, -54.21)
CIE-LCHlch(40.53, 84.59, 320.14°)
OKLaboklab(51.65% 0.1604 -0.1529)
OKLCHoklch(51.65% 0.222 316.4)
XYZxyz(22.3496, 11.5764, 47.5021)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727BA #4ABA27
analogous
#4E27BA #9727BA #BA2794
triadic
#9727BA #BA9727 #27BA97
tetradic
#9727BA #BA4E27 #4ABA27 #2794BA
square
#9727BA #BA4E27 #4ABA27 #2794BA
split-complementary
#9727BA #94BA27 #27BA4E
monochromatic
#451255 #6E1C87 #9727BA #B546D8 #CA79E3

Accessibility & contrast

On white

6.33
#9727BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9727BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727BA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727BA#FFFFFF#000000##FFFFFF
##9727BA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#954971
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9727ba;
/* rgb */ color: rgb(151, 39, 186);
/* oklch */ color: oklch(51.6% 0.222 316.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fcf',
    500: '#9727ba',
    950: '#000000',
  },
}
SCSS
$custom: #9727ba;
$custom-light: #ba6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9727ba",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 285.714,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.22155,
    "h": 316.4
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#9727BA
secondary
#87CB72
accent
#E84068
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9727BA

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

Preview Lab → · Contrast checker → · Palette generator →

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