#9727A4#9727A4

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

Color values

HEX#9727A4
RGBrgb(151, 39, 164)
HSLhsl(294, 62%, 40%)
HSVhsv(294, 76%, 64%)
CMYKcmyk(7.9%, 76.2%, 0%, 35.7%)
CIE-LABlab(39.09, 60.86, -43.46)
CIE-LCHlch(39.09, 74.79, 324.47°)
OKLaboklab(50.17% 0.163 -0.1214)
OKLCHoklch(50.17% 0.203 323.3)
XYZxyz(20.1882, 10.7119, 36.1190)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727A4 #34A427
analogous
#5927A4 #9727A4 #A42773
triadic
#9727A4 #A49727 #27A497
tetradic
#9727A4 #A45927 #34A427 #2773A4
square
#9727A4 #A45927 #34A427 #2773A4
split-complementary
#9727A4 #73A427 #27A459
monochromatic
#3C0F41 #691B73 #9727A4 #C038D0 #D06ADC

Accessibility & contrast

On white

6.68
#9727A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9727A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9727A4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727A4#FFFFFF#000000##FFFFFF
##9727A41.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#3D60A1
Tritanopia (blue-blind)
#993F64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9727a4;
/* rgb */ color: rgb(151, 39, 164);
/* oklch */ color: oklch(50.2% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#b96ebf',
    500: '#9727a4',
    950: '#000000',
  },
}
SCSS
$custom: #9727a4;
$custom-light: #b96ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9727a4",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 293.76,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.20325,
    "h": 323.3
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#9727A4
secondary
#6FC265
accent
#E54354
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9727A4

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

Preview Lab → · Contrast checker → · Palette generator →

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