#9747C0#9747C0

#9747C0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.189 H 312.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9747C0
RGBrgb(151, 71, 192)
HSLhsl(280, 49%, 52%)
HSVhsv(280, 63%, 75%)
CMYKcmyk(21.4%, 63%, 0%, 24.7%)
CIE-LABlab(45.49, 53.31, -49.76)
CIE-LCHlch(45.49, 72.92, 316.97°)
OKLaboklab(55.31% 0.1274 -0.14)
OKLCHoklch(55.31% 0.189 312.3)
XYZxyz(24.5285, 14.8922, 51.4413)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747C0 #70C047
analogous
#5B47C0 #9747C0 #C047AD
triadic
#9747C0 #C09747 #47C097
tetradic
#9747C0 #C05B47 #70C047 #47ADC0
square
#9747C0 #C05B47 #70C047 #47ADC0
split-complementary
#9747C0 #ADC047 #47C05B
monochromatic
#512469 #753396 #9747C0 #B175D0 #CBA2DF

Accessibility & contrast

On white

5.28
#9747C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9747C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747C0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747C0#FFFFFF#000000##FFFFFF
##9747C01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1168C4
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#925E7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9747c0;
/* rgb */ color: rgb(151, 71, 192);
/* oklch */ color: oklch(55.3% 0.189 312.3);
Tailwind
colors: {
  custom: {
    50: '#b97fd4',
    500: '#9747c0',
    950: '#000000',
  },
}
SCSS
$custom: #9747c0;
$custom-light: #b97fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9747c0",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 192
  },
  "hsl": {
    "h": 279.669,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.1893,
    "h": 312.3
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#9747C0
secondary
#A9CC97
accent
#D94F7E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9747C0

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

Preview Lab → · Contrast checker → · Palette generator →

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