#9747DC#9747DC

#9747DC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.218 H 305.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9747DC
RGBrgb(151, 71, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(31.4%, 67.7%, 0%, 13.7%)
CIE-LABlab(47.31, 59.55, -62.94)
CIE-LCHlch(47.31, 86.65, 313.42°)
OKLaboklab(57.19% 0.1253 -0.1787)
OKLCHoklch(57.19% 0.218 305)
XYZxyz(27.9311, 16.2533, 69.3620)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747DC #8CDC47
analogous
#4D47DC #9747DC #DC47D7
triadic
#9747DC #DC9747 #47DC97
tetradic
#9747DC #DC4D47 #8CDC47 #47D7DC
square
#9747DC #DC4D47 #8CDC47 #47D7DC
split-complementary
#9747DC #D7DC47 #47DC4D
monochromatic
#591B8E #7925C1 #9747DC #B47AE6 #D1AEF0

Accessibility & contrast

On white

4.94
#9747DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9747DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747DC#FFFFFF#000000##FFFFFF
##9747DC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0F70D9
Tritanopia (blue-blind)
#8A698C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9747dc;
/* rgb */ color: rgb(151, 71, 220);
/* oklch */ color: oklch(57.2% 0.218 305.0);
Tailwind
colors: {
  custom: {
    50: '#bb80e8',
    500: '#9747dc',
    950: '#000000',
  },
}
SCSS
$custom: #9747dc;
$custom-light: #bb80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9747dc",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 272.215,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.21823,
    "h": 305
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#9747DC
secondary
#BDDEA1
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9747DC

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

Preview Lab → · Contrast checker → · Palette generator →

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