#9747D1#9747D1

#9747D1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.207 H 307.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9747D1
RGBrgb(151, 71, 209)
HSLhsl(275, 60%, 55%)
HSVhsv(275, 66%, 82%)
CMYKcmyk(27.8%, 66%, 0%, 18%)
CIE-LABlab(46.56, 57.06, -57.85)
CIE-LCHlch(46.56, 81.25, 314.61°)
OKLaboklab(56.43% 0.1264 -0.1637)
OKLCHoklch(56.43% 0.207 307.7)
XYZxyz(26.5220, 15.6896, 61.9404)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747D1 #81D147
analogous
#5247D1 #9747D1 #D147C6
triadic
#9747D1 #D19747 #47D197
tetradic
#9747D1 #D15247 #81D147 #47C6D1
square
#9747D1 #D15247 #81D147 #47C6D1
split-complementary
#9747D1 #C6D147 #47D152
monochromatic
#56207E #782CAF #9747D1 #B378DD #CEA9E9

Accessibility & contrast

On white

5.08
#9747D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9747D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747D1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747D1#FFFFFF#000000##FFFFFF
##9747D11.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#8E6486
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9747d1;
/* rgb */ color: rgb(151, 71, 209);
/* oklch */ color: oklch(56.4% 0.207 307.7);
Tailwind
colors: {
  custom: {
    50: '#ba7fe0',
    500: '#9747d1',
    950: '#000000',
  },
}
SCSS
$custom: #9747d1;
$custom-light: #ba7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9747d1",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 274.783,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.20687,
    "h": 307.7
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#9747D1
secondary
#B5D79D
accent
#E34587
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747D1

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

Preview Lab → · Contrast checker → · Palette generator →

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