#9747C1#9747C1

#9747C1 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.190 H 312.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9747C1
RGBrgb(151, 71, 193)
HSLhsl(279, 50%, 52%)
HSVhsv(279, 63%, 76%)
CMYKcmyk(21.8%, 63.2%, 0%, 24.3%)
CIE-LABlab(45.55, 53.52, -50.24)
CIE-LCHlch(45.55, 73.41, 316.81°)
OKLaboklab(55.37% 0.1274 -0.1414)
OKLCHoklch(55.37% 0.19 312)
XYZxyz(24.6396, 14.9367, 52.0268)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747C1 #71C147
analogous
#5A47C1 #9747C1 #C147AE
triadic
#9747C1 #C19747 #47C197
tetradic
#9747C1 #C15A47 #71C147 #47AEC1
square
#9747C1 #C15A47 #71C147 #47AEC1
split-complementary
#9747C1 #AEC147 #47C15A
monochromatic
#52246A #753398 #9747C1 #B175D0 #CBA3E0

Accessibility & contrast

On white

5.27
#9747C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9747C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747C1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747C1#FFFFFF#000000##FFFFFF
##9747C11.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D68C5
Deuteranopia (green-blind)
#3D6DBE
Tritanopia (blue-blind)
#925E7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9747c1;
/* rgb */ color: rgb(151, 71, 193);
/* oklch */ color: oklch(55.4% 0.190 312.0);
Tailwind
colors: {
  custom: {
    50: '#b97fd4',
    500: '#9747c1',
    950: '#000000',
  },
}
SCSS
$custom: #9747c1;
$custom-light: #b97fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9747c1",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 279.344,
    "s": 49.593,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.19033,
    "h": 312
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#9747C1
secondary
#AACD97
accent
#D94F7E
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9747C1

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

Preview Lab → · Contrast checker → · Palette generator →

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