#9747AF#9747AF

#9747AF is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.3% C 0.172 H 317.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9747AF
RGBrgb(151, 71, 175)
HSLhsl(286, 42%, 48%)
HSVhsv(286, 59%, 69%)
CMYKcmyk(13.7%, 59.4%, 0%, 31.4%)
CIE-LABlab(44.49, 49.71, -41.39)
CIE-LCHlch(44.49, 64.69, 320.22°)
OKLaboklab(54.27% 0.1273 -0.1156)
OKLCHoklch(54.27% 0.172 317.8)
XYZxyz(22.7525, 14.1818, 42.0880)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747AF #5FAF47
analogous
#6347AF #9747AF #AF4793
triadic
#9747AF #AF9747 #47AF97
tetradic
#9747AF #AF6347 #5FAF47 #4793AF
square
#9747AF #AF6347 #5FAF47 #4793AF
split-complementary
#9747AF #93AF47 #47AF63
monochromatic
#4C2458 #713583 #9747AF #B16FC4 #C89AD6

Accessibility & contrast

On white

5.47
#9747AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9747AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747AF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747AF#FFFFFF#000000##FFFFFF
##9747AF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#965874
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9747af;
/* rgb */ color: rgb(151, 71, 175);
/* oklch */ color: oklch(54.3% 0.172 317.8);
Tailwind
colors: {
  custom: {
    50: '#b87fc7',
    500: '#9747af',
    950: '#000000',
  },
}
SCSS
$custom: #9747af;
$custom-light: #b87fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9747af",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 286.154,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.17193,
    "h": 317.8
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9747AF

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

Preview Lab → · Contrast checker → · Palette generator →

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