#9747A4#9747A4

#9747A4 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.6% C 0.161 H 321.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9747A4
RGBrgb(151, 71, 164)
HSLhsl(292, 40%, 46%)
HSVhsv(292, 57%, 64%)
CMYKcmyk(7.9%, 56.7%, 0%, 35.7%)
CIE-LABlab(43.90, 47.49, -35.83)
CIE-LCHlch(43.90, 59.49, 322.97°)
OKLaboklab(53.64% 0.1266 -0.0994)
OKLCHoklch(53.64% 0.161 321.9)
XYZxyz(21.7159, 13.7671, 36.6282)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747A4 #54A447
analogous
#6847A4 #9747A4 #A44782
triadic
#9747A4 #A49747 #47A497
tetradic
#9747A4 #A46847 #54A447 #4782A4
square
#9747A4 #A46847 #54A447 #4782A4
split-complementary
#9747A4 #82A447 #47A468
monochromatic
#48224F #703579 #9747A4 #B36ABE #C895D1

Accessibility & contrast

On white

5.60
#9747A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9747A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747A4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747A4#FFFFFF#000000##FFFFFF
##9747A41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#516BA1
Tritanopia (blue-blind)
#99546F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9747a4;
/* rgb */ color: rgb(151, 71, 164);
/* oklch */ color: oklch(53.6% 0.161 321.9);
Tailwind
colors: {
  custom: {
    50: '#b87ebf',
    500: '#9747a4',
    950: '#000000',
  },
}
SCSS
$custom: #9747a4;
$custom-light: #b87ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9747a4",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 291.613,
    "s": 39.574,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.16094,
    "h": 321.9
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#9747A4
secondary
#91BD8A
accent
#CF5869
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9747A4

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

Preview Lab → · Contrast checker → · Palette generator →

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