#9747BB#9747BB

#9747BB is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.0% C 0.184 H 313.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9747BB
RGBrgb(151, 71, 187)
HSLhsl(281, 46%, 51%)
HSVhsv(281, 62%, 73%)
CMYKcmyk(19.3%, 62%, 0%, 26.7%)
CIE-LABlab(45.19, 52.23, -47.33)
CIE-LCHlch(45.19, 70.48, 317.82°)
OKLaboklab(54.99% 0.1275 -0.1329)
OKLCHoklch(54.99% 0.184 313.8)
XYZxyz(23.9839, 14.6744, 48.5731)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747BB #6BBB47
analogous
#5D47BB #9747BB #BB47A5
triadic
#9747BB #BB9747 #47BB97
tetradic
#9747BB #BB5D47 #6BBB47 #47A5BB
square
#9747BB #BB5D47 #6BBB47 #47A5BB
split-complementary
#9747BB #A5BB47 #47BB5D
monochromatic
#502563 #743590 #9747BB #B074CC #CAA0DC

Accessibility & contrast

On white

5.34
#9747BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9747BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747BB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747BB#FFFFFF#000000##FFFFFF
##9747BB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#945C7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9747bb;
/* rgb */ color: rgb(151, 71, 187);
/* oklch */ color: oklch(55.0% 0.184 313.8);
Tailwind
colors: {
  custom: {
    50: '#b97fd0',
    500: '#9747bb',
    950: '#000000',
  },
}
SCSS
$custom: #9747bb;
$custom-light: #b97fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9747bb",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 281.379,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.18416,
    "h": 313.8
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#9747BB
secondary
#A5C995
accent
#D6527B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9747BB

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

Preview Lab → · Contrast checker → · Palette generator →

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