#9747B4#9747B4

#9747B4 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.6% C 0.177 H 316.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9747B4
RGBrgb(151, 71, 180)
HSLhsl(284, 43%, 49%)
HSVhsv(284, 61%, 71%)
CMYKcmyk(16.1%, 60.6%, 0%, 29.4%)
CIE-LABlab(44.78, 50.75, -43.88)
CIE-LCHlch(44.78, 67.09, 319.15°)
OKLaboklab(54.56% 0.1275 -0.1228)
OKLCHoklch(54.56% 0.177 316.1)
XYZxyz(23.2527, 14.3819, 44.7223)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747B4 #64B447
analogous
#6147B4 #9747B4 #B4479B
triadic
#9747B4 #B49747 #47B497
tetradic
#9747B4 #B46147 #64B447 #479BB4
square
#9747B4 #B46147 #64B447 #479BB4
split-complementary
#9747B4 #9BB447 #47B461
monochromatic
#4D245C #723688 #9747B4 #B071C7 #C99DD8

Accessibility & contrast

On white

5.42
#9747B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9747B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747B4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747B4#FFFFFF#000000##FFFFFF
##9747B41.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#955A77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9747b4;
/* rgb */ color: rgb(151, 71, 180);
/* oklch */ color: oklch(54.6% 0.177 316.1);
Tailwind
colors: {
  custom: {
    50: '#b87fcb',
    500: '#9747b4',
    950: '#000000',
  },
}
SCSS
$custom: #9747b4;
$custom-light: #b87fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9747b4",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 284.037,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.177,
    "h": 316.1
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#9747B4
secondary
#A0C592
accent
#D35576
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9747B4

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

Preview Lab → · Contrast checker → · Palette generator →

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