#9747AE#9747AE

#9747AE is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.2% C 0.171 H 318.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9747AE
RGBrgb(151, 71, 174)
HSLhsl(287, 42%, 48%)
HSVhsv(287, 59%, 68%)
CMYKcmyk(13.2%, 59.2%, 0%, 31.8%)
CIE-LABlab(44.44, 49.51, -40.89)
CIE-LCHlch(44.44, 64.21, 320.44°)
OKLaboklab(54.21% 0.1273 -0.1141)
OKLCHoklch(54.21% 0.171 318.1)
XYZxyz(22.6547, 14.1427, 41.5727)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747AE #5EAE47
analogous
#6347AE #9747AE #AE4791
triadic
#9747AE #AE9747 #47AE97
tetradic
#9747AE #AE6347 #5EAE47 #4791AE
square
#9747AE #AE6347 #5EAE47 #4791AE
split-complementary
#9747AE #91AE47 #47AE63
monochromatic
#4C2457 #713583 #9747AE #B16EC4 #C89AD6

Accessibility & contrast

On white

5.49
#9747AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9747AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747AE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747AE#FFFFFF#000000##FFFFFF
##9747AE1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#975874
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9747ae;
/* rgb */ color: rgb(151, 71, 174);
/* oklch */ color: oklch(54.2% 0.171 318.1);
Tailwind
colors: {
  custom: {
    50: '#b87fc6',
    500: '#9747ae',
    950: '#000000',
  },
}
SCSS
$custom: #9747ae;
$custom-light: #b87fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9747ae",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 286.602,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.17092,
    "h": 318.1
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#9747AE
secondary
#9AC28F
accent
#D25672
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9747AE

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

Preview Lab → · Contrast checker → · Palette generator →

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