#9747BF#9747BF

#9747BF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.188 H 312.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9747BF
RGBrgb(151, 71, 191)
HSLhsl(280, 48%, 51%)
HSVhsv(280, 63%, 75%)
CMYKcmyk(20.9%, 62.8%, 0%, 25.1%)
CIE-LABlab(45.43, 53.09, -49.27)
CIE-LCHlch(45.43, 72.43, 317.13°)
OKLaboklab(55.24% 0.1274 -0.1386)
OKLCHoklch(55.24% 0.188 312.6)
XYZxyz(24.4180, 14.8480, 50.8598)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747BF #6FBF47
analogous
#5B47BF #9747BF #BF47AB
triadic
#9747BF #BF9747 #47BF97
tetradic
#9747BF #BF5B47 #6FBF47 #47ABBF
square
#9747BF #BF5B47 #6FBF47 #47ABBF
split-complementary
#9747BF #ABBF47 #47BF5B
monochromatic
#512468 #753495 #9747BF #B174CF #CAA2DF

Accessibility & contrast

On white

5.29
#9747BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9747BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747BF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747BF#FFFFFF#000000##FFFFFF
##9747BF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#935E7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9747bf;
/* rgb */ color: rgb(151, 71, 191);
/* oklch */ color: oklch(55.2% 0.188 312.6);
Tailwind
colors: {
  custom: {
    50: '#b97fd3',
    500: '#9747bf',
    950: '#000000',
  },
}
SCSS
$custom: #9747bf;
$custom-light: #b97fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9747bf",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.18827,
    "h": 312.6
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#9747BF
secondary
#A8CB96
accent
#D8507D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9747BF

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

Preview Lab → · Contrast checker → · Palette generator →

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