#9747C8#9747C8

#9747C8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.198 H 310.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9747C8
RGBrgb(151, 71, 200)
HSLhsl(277, 54%, 53%)
HSVhsv(277, 65%, 78%)
CMYKcmyk(24.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(45.98, 55.05, -53.60)
CIE-LCHlch(45.98, 76.84, 315.77°)
OKLaboklab(55.83% 0.1271 -0.1513)
OKLCHoklch(55.83% 0.198 310)
XYZxyz(25.4390, 15.2564, 56.2371)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747C8 #78C847
analogous
#5647C8 #9747C8 #C847B9
triadic
#9747C8 #C89747 #47C897
tetradic
#9747C8 #C85647 #78C847 #47B9C8
square
#9747C8 #C85647 #78C847 #47B9C8
split-complementary
#9747C8 #B9C847 #47C856
monochromatic
#542272 #7730A2 #9747C8 #B276D6 #CCA5E4

Accessibility & contrast

On white

5.18
#9747C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9747C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747C8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747C8#FFFFFF#000000##FFFFFF
##9747C81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#356EC5
Tritanopia (blue-blind)
#906181
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9747c8;
/* rgb */ color: rgb(151, 71, 200);
/* oklch */ color: oklch(55.8% 0.198 310.0);
Tailwind
colors: {
  custom: {
    50: '#b97fd9',
    500: '#9747c8',
    950: '#000000',
  },
}
SCSS
$custom: #9747c8;
$custom-light: #b97fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9747c8",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 277.209,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.19755,
    "h": 310
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#9747C8
secondary
#AFD19A
accent
#DD4A82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747C8

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

Preview Lab → · Contrast checker → · Palette generator →

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