#9747AC#9747AC

#9747AC is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.1% C 0.169 H 318.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9747AC
RGBrgb(151, 71, 172)
HSLhsl(288, 42%, 48%)
HSVhsv(288, 59%, 67%)
CMYKcmyk(12.2%, 58.7%, 0%, 32.5%)
CIE-LABlab(44.33, 49.10, -39.89)
CIE-LCHlch(44.33, 63.26, 320.91°)
OKLaboklab(54.09% 0.1272 -0.1112)
OKLCHoklch(54.09% 0.169 318.8)
XYZxyz(22.4611, 14.0653, 40.5534)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747AC #5CAC47
analogous
#6547AC #9747AC #AC478E
triadic
#9747AC #AC9747 #47AC97
tetradic
#9747AC #AC6547 #5CAC47 #478EAC
square
#9747AC #AC6547 #5CAC47 #478EAC
split-complementary
#9747AC #8EAC47 #47AC65
monochromatic
#4B2355 #713581 #9747AC #B16DC3 #C899D5

Accessibility & contrast

On white

5.51
#9747AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9747AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747AC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747AC#FFFFFF#000000##FFFFFF
##9747AC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#975773
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9747ac;
/* rgb */ color: rgb(151, 71, 172);
/* oklch */ color: oklch(54.1% 0.169 318.8);
Tailwind
colors: {
  custom: {
    50: '#b87ec5',
    500: '#9747ac',
    950: '#000000',
  },
}
SCSS
$custom: #9747ac;
$custom-light: #b87ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9747ac",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 287.525,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.1689,
    "h": 318.8
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#9747AC
secondary
#99C18E
accent
#D15670
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9747AC

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

Preview Lab → · Contrast checker → · Palette generator →

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