#9D47C7#9D47C7

#9D47C7 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.199 H 312.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D47C7
RGBrgb(157, 71, 199)
HSLhsl(280, 53%, 53%)
HSVhsv(280, 64%, 78%)
CMYKcmyk(21.1%, 64.3%, 0%, 22%)
CIE-LABlab(46.71, 56.20, -51.81)
CIE-LCHlch(46.71, 76.44, 317.33°)
OKLaboklab(56.5% 0.1348 -0.1458)
OKLCHoklch(56.5% 0.199 312.7)
XYZxyz(26.4649, 15.7988, 55.6771)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47C7 #71C747
analogous
#5D47C7 #9D47C7 #C747B1
triadic
#9D47C7 #C79D47 #47C79D
tetradic
#9D47C7 #C75D47 #71C747 #47B1C7
square
#9D47C7 #C75D47 #71C747 #47B1C7
split-complementary
#9D47C7 #B1C747 #47C75D
monochromatic
#572271 #7C31A0 #9D47C7 #B676D5 #CFA5E4

Accessibility & contrast

On white

5.05
#9D47C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9D47C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47C7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47C7#FFFFFF#000000##FFFFFF
##9D47C71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ACB
Deuteranopia (green-blind)
#3E71C4
Tritanopia (blue-blind)
#996081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d47c7;
/* rgb */ color: rgb(157, 71, 199);
/* oklch */ color: oklch(56.5% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#bd80d9',
    500: '#9d47c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d47c7;
$custom-light: #bd80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47c7",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 280.313,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.19857,
    "h": 312.7
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#9D47C7
secondary
#ABD199
accent
#DD4B7B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D47C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9D47C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva