#9747BC#9747BC

#9747BC is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.185 H 313.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9747BC
RGBrgb(151, 71, 188)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(19.7%, 62.2%, 0%, 26.3%)
CIE-LABlab(45.24, 52.44, -47.82)
CIE-LCHlch(45.24, 70.97, 317.64°)
OKLaboklab(55.06% 0.1275 -0.1343)
OKLCHoklch(55.06% 0.185 313.5)
XYZxyz(24.0913, 14.7173, 49.1389)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747BC #6CBC47
analogous
#5C47BC #9747BC #BC47A6
triadic
#9747BC #BC9747 #47BC97
tetradic
#9747BC #BC5C47 #6CBC47 #47A6BC
square
#9747BC #BC5C47 #6CBC47 #47A6BC
split-complementary
#9747BC #A6BC47 #47BC5C
monochromatic
#502464 #743591 #9747BC #B074CC #CAA1DD

Accessibility & contrast

On white

5.33
#9747BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9747BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747BC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747BC#FFFFFF#000000##FFFFFF
##9747BC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#935D7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9747bc;
/* rgb */ color: rgb(151, 71, 188);
/* oklch */ color: oklch(55.1% 0.185 313.5);
Tailwind
colors: {
  custom: {
    50: '#b97fd1',
    500: '#9747bc',
    950: '#000000',
  },
}
SCSS
$custom: #9747bc;
$custom-light: #b97fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9747bc",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 281.026,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.18518,
    "h": 313.5
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#9747BC
secondary
#A6C995
accent
#D6527C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9747BC

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

Preview Lab → · Contrast checker → · Palette generator →

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