#9747C2#9747C2

#9747C2 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.191 H 311.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9747C2
RGBrgb(151, 71, 194)
HSLhsl(279, 50%, 52%)
HSVhsv(279, 63%, 76%)
CMYKcmyk(22.2%, 63.4%, 0%, 23.9%)
CIE-LABlab(45.61, 53.74, -50.72)
CIE-LCHlch(45.61, 73.90, 316.65°)
OKLaboklab(55.44% 0.1273 -0.1428)
OKLCHoklch(55.44% 0.191 311.7)
XYZxyz(24.7516, 14.9814, 52.6163)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747C2 #72C247
analogous
#5A47C2 #9747C2 #C247B0
triadic
#9747C2 #C29747 #47C297
tetradic
#9747C2 #C25A47 #72C247 #47B0C2
square
#9747C2 #C25A47 #72C247 #47B0C2
split-complementary
#9747C2 #B0C247 #47C25A
monochromatic
#52246B #753399 #9747C2 #B175D1 #CBA3E0

Accessibility & contrast

On white

5.25
#9747C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9747C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747C2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747C2#FFFFFF#000000##FFFFFF
##9747C21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C6
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#925F7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9747c2;
/* rgb */ color: rgb(151, 71, 194);
/* oklch */ color: oklch(55.4% 0.191 311.7);
Tailwind
colors: {
  custom: {
    50: '#b97fd5',
    500: '#9747c2',
    950: '#000000',
  },
}
SCSS
$custom: #9747c2;
$custom-light: #b97fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9747c2",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 279.024,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.19136,
    "h": 311.7
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9747C2

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

Preview Lab → · Contrast checker → · Palette generator →

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