#9747C5#9747C5

#9747C5 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.194 H 310.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9747C5
RGBrgb(151, 71, 197)
HSLhsl(278, 52%, 53%)
HSVhsv(278, 64%, 77%)
CMYKcmyk(23.4%, 64%, 0%, 22.7%)
CIE-LABlab(45.79, 54.39, -52.17)
CIE-LCHlch(45.79, 75.37, 316.20°)
OKLaboklab(55.63% 0.1272 -0.1471)
OKLCHoklch(55.63% 0.194 310.9)
XYZxyz(25.0919, 15.1176, 54.4087)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747C5 #75C547
analogous
#5847C5 #9747C5 #C547B4
triadic
#9747C5 #C59747 #47C597
tetradic
#9747C5 #C55847 #75C547 #47B4C5
square
#9747C5 #C55847 #75C547 #47B4C5
split-complementary
#9747C5 #B4C547 #47C558
monochromatic
#53236F #76329D #9747C5 #B176D4 #CCA4E2

Accessibility & contrast

On white

5.22
#9747C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9747C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747C5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747C5#FFFFFF#000000##FFFFFF
##9747C51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#916080
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9747c5;
/* rgb */ color: rgb(151, 71, 197);
/* oklch */ color: oklch(55.6% 0.194 310.9);
Tailwind
colors: {
  custom: {
    50: '#b97fd7',
    500: '#9747c5',
    950: '#000000',
  },
}
SCSS
$custom: #9747c5;
$custom-light: #b97fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9747c5",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 278.095,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.19446,
    "h": 310.9
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#9747C5
secondary
#ADCF99
accent
#DC4C81
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9747C5

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

Preview Lab → · Contrast checker → · Palette generator →

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