#9727A3#9727A3

#9727A3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.202 H 323.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9727A3
RGBrgb(151, 39, 163)
HSLhsl(294, 61%, 40%)
HSVhsv(294, 76%, 64%)
CMYKcmyk(7.4%, 76.1%, 0%, 36.1%)
CIE-LABlab(39.03, 60.69, -42.96)
CIE-LCHlch(39.03, 74.36, 324.70°)
OKLaboklab(50.1% 0.1631 -0.1199)
OKLCHoklch(50.1% 0.202 323.7)
XYZxyz(20.0983, 10.6759, 35.6453)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9727A3 #33A327
analogous
#5927A3 #9727A3 #A32771
triadic
#9727A3 #A39727 #27A397
tetradic
#9727A3 #A35927 #33A327 #2771A3
square
#9727A3 #A35927 #33A327 #2771A3
split-complementary
#9727A3 #71A327 #27A359
monochromatic
#3C0F40 #691B72 #9727A3 #C138CF #D069DB

Accessibility & contrast

On white

6.70
#9727A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9727A3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9727A3#FFFFFF#000000##FFFFFF
##9727A31.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#3E60A0
Tritanopia (blue-blind)
#9A3E64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9727a3;
/* rgb */ color: rgb(151, 39, 163);
/* oklch */ color: oklch(50.1% 0.202 323.7);
Tailwind
colors: {
  custom: {
    50: '#b96ebf',
    500: '#9727a3',
    950: '#000000',
  },
}
SCSS
$custom: #9727a3;
$custom-light: #b96ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9727a3",
  "rgb": {
    "r": 151,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 294.194,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.20243,
    "h": 323.7
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#9727A3
secondary
#6DC164
accent
#E44353
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9727A3

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

Preview Lab → · Contrast checker → · Palette generator →

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