#9747BD#9747BD

#9747BD is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.186 H 313.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9747BD
RGBrgb(151, 71, 189)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(20.1%, 62.4%, 0%, 25.9%)
CIE-LABlab(45.30, 52.66, -48.30)
CIE-LCHlch(45.30, 71.46, 317.47°)
OKLaboklab(55.12% 0.1275 -0.1357)
OKLCHoklch(55.12% 0.186 313.2)
XYZxyz(24.1995, 14.7606, 49.7086)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747BD #6DBD47
analogous
#5C47BD #9747BD #BD47A8
triadic
#9747BD #BD9747 #47BD97
tetradic
#9747BD #BD5C47 #6DBD47 #47A8BD
square
#9747BD #BD5C47 #6DBD47 #47A8BD
split-complementary
#9747BD #A8BD47 #47BD5C
monochromatic
#502465 #743492 #9747BD #B074CD #CAA1DD

Accessibility & contrast

On white

5.31
#9747BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9747BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747BD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747BD#FFFFFF#000000##FFFFFF
##9747BD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#935D7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9747bd;
/* rgb */ color: rgb(151, 71, 189);
/* oklch */ color: oklch(55.1% 0.186 313.2);
Tailwind
colors: {
  custom: {
    50: '#b97fd1',
    500: '#9747bd',
    950: '#000000',
  },
}
SCSS
$custom: #9747bd;
$custom-light: #b97fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9747bd",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 280.678,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.18622,
    "h": 313.2
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#9747BD
secondary
#A7CA96
accent
#D7517C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9747BD

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

Preview Lab → · Contrast checker → · Palette generator →

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