#9747CF#9747CF

#9747CF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.205 H 308.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9747CF
RGBrgb(151, 71, 207)
HSLhsl(275, 59%, 55%)
HSVhsv(275, 66%, 81%)
CMYKcmyk(27.1%, 65.7%, 0%, 18.8%)
CIE-LABlab(46.43, 56.61, -56.91)
CIE-LCHlch(46.43, 80.27, 314.85°)
OKLaboklab(56.29% 0.1266 -0.161)
OKLCHoklch(56.29% 0.205 308.2)
XYZxyz(26.2759, 15.5912, 60.6446)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747CF #7FCF47
analogous
#5347CF #9747CF #CF47C3
triadic
#9747CF #CF9747 #47CF97
tetradic
#9747CF #CF5347 #7FCF47 #47C3CF
square
#9747CF #CF5347 #7FCF47 #47C3CF
split-complementary
#9747CF #C3CF47 #47CF53
monochromatic
#56207B #782DAC #9747CF #B278DC #CEA8E8

Accessibility & contrast

On white

5.10
#9747CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9747CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747CF#FFFFFF#000000##FFFFFF
##9747CF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#8E6485
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9747cf;
/* rgb */ color: rgb(151, 71, 207);
/* oklch */ color: oklch(56.3% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9747cf',
    950: '#000000',
  },
}
SCSS
$custom: #9747cf;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9747cf",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 275.294,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.20479,
    "h": 308.2
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#9747CF
secondary
#B4D69C
accent
#E24686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747CF

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

Preview Lab → · Contrast checker → · Palette generator →

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