#9747A6#9747A6

#9747A6 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.7% C 0.163 H 321.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9747A6
RGBrgb(151, 71, 166)
HSLhsl(291, 40%, 46%)
HSVhsv(291, 57%, 65%)
CMYKcmyk(9%, 57.2%, 0%, 34.9%)
CIE-LABlab(44.00, 47.89, -36.85)
CIE-LCHlch(44.00, 60.42, 322.42°)
OKLaboklab(53.75% 0.1268 -0.1023)
OKLCHoklch(53.75% 0.163 321.1)
XYZxyz(21.8979, 13.8400, 37.5869)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747A6 #56A647
analogous
#6847A6 #9747A6 #A64786
triadic
#9747A6 #A69747 #47A697
tetradic
#9747A6 #A66847 #56A647 #4786A6
square
#9747A6 #A66847 #56A647 #4786A6
split-complementary
#9747A6 #86A647 #47A668
monochromatic
#492250 #70357B #9747A6 #B26BC0 #C896D2

Accessibility & contrast

On white

5.57
#9747A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9747A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747A6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747A6#FFFFFF#000000##FFFFFF
##9747A61.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#985570
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9747a6;
/* rgb */ color: rgb(151, 71, 166);
/* oklch */ color: oklch(53.7% 0.163 321.1);
Tailwind
colors: {
  custom: {
    50: '#b87ec1',
    500: '#9747a6',
    950: '#000000',
  },
}
SCSS
$custom: #9747a6;
$custom-light: #b87ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9747a6",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 290.526,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.16292,
    "h": 321.1
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#9747A6
secondary
#93BE8B
accent
#D0586B
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9747A6

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

Preview Lab → · Contrast checker → · Palette generator →

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