#9747C7#9747C7

#9747C7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.8% C 0.197 H 310.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9747C7
RGBrgb(151, 71, 199)
HSLhsl(278, 53%, 53%)
HSVhsv(278, 64%, 78%)
CMYKcmyk(24.1%, 64.3%, 0%, 22%)
CIE-LABlab(45.92, 54.83, -53.12)
CIE-LCHlch(45.92, 76.35, 315.91°)
OKLaboklab(55.76% 0.1271 -0.1499)
OKLCHoklch(55.76% 0.197 310.3)
XYZxyz(25.3226, 15.2098, 55.6236)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747C7 #77C747
analogous
#5747C7 #9747C7 #C747B7
triadic
#9747C7 #C79747 #47C797
tetradic
#9747C7 #C75747 #77C747 #47B7C7
square
#9747C7 #C75747 #77C747 #47B7C7
split-complementary
#9747C7 #B7C747 #47C757
monochromatic
#542271 #7631A0 #9747C7 #B276D5 #CCA5E4

Accessibility & contrast

On white

5.20
#9747C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9747C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747C7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747C7#FFFFFF#000000##FFFFFF
##9747C71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#916181
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9747c7;
/* rgb */ color: rgb(151, 71, 199);
/* oklch */ color: oklch(55.8% 0.197 310.3);
Tailwind
colors: {
  custom: {
    50: '#b97fd9',
    500: '#9747c7',
    950: '#000000',
  },
}
SCSS
$custom: #9747c7;
$custom-light: #b97fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9747c7",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 277.5,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.19652,
    "h": 310.3
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#9747C7
secondary
#AED199
accent
#DD4B82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747C7

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

Preview Lab → · Contrast checker → · Palette generator →

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