#9747A7#9747A7

#9747A7 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.8% C 0.164 H 320.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9747A7
RGBrgb(151, 71, 167)
HSLhsl(290, 40%, 47%)
HSVhsv(290, 57%, 65%)
CMYKcmyk(9.6%, 57.5%, 0%, 34.5%)
CIE-LABlab(44.06, 48.09, -37.36)
CIE-LCHlch(44.06, 60.89, 322.16°)
OKLaboklab(53.81% 0.1268 -0.1038)
OKLCHoklch(53.81% 0.164 320.7)
XYZxyz(21.9900, 13.8768, 38.0719)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747A7 #57A747
analogous
#6747A7 #9747A7 #A74787
triadic
#9747A7 #A79747 #47A797
tetradic
#9747A7 #A76747 #57A747 #4787A7
square
#9747A7 #A76747 #57A747 #4787A7
split-complementary
#9747A7 #87A747 #47A767
monochromatic
#492251 #70357C #9747A7 #B26BC0 #C896D2

Accessibility & contrast

On white

5.56
#9747A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9747A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747A7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747A7#FFFFFF#000000##FFFFFF
##9747A71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462AA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#985570
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9747a7;
/* rgb */ color: rgb(151, 71, 167);
/* oklch */ color: oklch(53.8% 0.164 320.7);
Tailwind
colors: {
  custom: {
    50: '#b87ec1',
    500: '#9747a7',
    950: '#000000',
  },
}
SCSS
$custom: #9747a7;
$custom-light: #b87ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9747a7",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 290,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.16391,
    "h": 320.7
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#9747A7
secondary
#94BE8B
accent
#D0586C
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9747A7

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

Preview Lab → · Contrast checker → · Palette generator →

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