#9747CE#9747CE

#9747CE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.204 H 308.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9747CE
RGBrgb(151, 71, 206)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(26.7%, 65.5%, 0%, 19.2%)
CIE-LABlab(46.37, 56.39, -56.44)
CIE-LCHlch(46.37, 79.78, 314.97°)
OKLaboklab(56.23% 0.1267 -0.1596)
OKLCHoklch(56.23% 0.204 308.4)
XYZxyz(26.1541, 15.5424, 60.0027)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747CE #7ECE47
analogous
#5447CE #9747CE #CE47C1
triadic
#9747CE #CE9747 #47CE97
tetradic
#9747CE #CE5447 #7ECE47 #47C1CE
square
#9747CE #CE5447 #7ECE47 #47C1CE
split-complementary
#9747CE #C1CE47 #47CE54
monochromatic
#56217A #772DAA #9747CE #B277DB #CEA8E8

Accessibility & contrast

On white

5.11
#9747CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9747CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747CE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747CE#FFFFFF#000000##FFFFFF
##9747CE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#8F6384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9747ce;
/* rgb */ color: rgb(151, 71, 206);
/* oklch */ color: oklch(56.2% 0.204 308.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9747ce',
    950: '#000000',
  },
}
SCSS
$custom: #9747ce;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9747ce",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 275.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.20376,
    "h": 308.4
  },
  "luminance": 0.15542
}

Semantic roles & 50–950 ramp

primary
#9747CE
secondary
#B3D59C
accent
#E14786
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747CE

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

Preview Lab → · Contrast checker → · Palette generator →

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