#9747B2#9747B2

#9747B2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.4% C 0.175 H 316.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9747B2
RGBrgb(151, 71, 178)
HSLhsl(285, 43%, 49%)
HSVhsv(285, 60%, 70%)
CMYKcmyk(15.2%, 60.1%, 0%, 30.2%)
CIE-LABlab(44.66, 50.33, -42.89)
CIE-LCHlch(44.66, 66.13, 319.57°)
OKLaboklab(54.44% 0.1274 -0.1199)
OKLCHoklch(54.44% 0.175 316.7)
XYZxyz(23.0504, 14.3010, 43.6570)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747B2 #62B247
analogous
#6247B2 #9747B2 #B24798
triadic
#9747B2 #B29747 #47B297
tetradic
#9747B2 #B26247 #62B247 #4798B2
square
#9747B2 #B26247 #62B247 #4798B2
split-complementary
#9747B2 #98B247 #47B262
monochromatic
#4D245B #723686 #9747B2 #B070C6 #C89CD7

Accessibility & contrast

On white

5.44
#9747B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9747B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747B2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747B2#FFFFFF#000000##FFFFFF
##9747B21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#965976
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9747b2;
/* rgb */ color: rgb(151, 71, 178);
/* oklch */ color: oklch(54.4% 0.175 316.7);
Tailwind
colors: {
  custom: {
    50: '#b87fc9',
    500: '#9747b2',
    950: '#000000',
  },
}
SCSS
$custom: #9747b2;
$custom-light: #b87fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9747b2",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 284.86,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.17497,
    "h": 316.7
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#9747B2
secondary
#9EC491
accent
#D35575
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9747B2

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

Preview Lab → · Contrast checker → · Palette generator →

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