#9D47C5#9D47C5

#9D47C5 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.197 H 313.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9D47C5
RGBrgb(157, 71, 197)
HSLhsl(281, 52%, 53%)
HSVhsv(281, 64%, 77%)
CMYKcmyk(20.3%, 64%, 0%, 22.7%)
CIE-LABlab(46.59, 55.77, -50.85)
CIE-LCHlch(46.59, 75.48, 317.64°)
OKLaboklab(56.37% 0.1348 -0.143)
OKLCHoklch(56.37% 0.197 313.3)
XYZxyz(26.2342, 15.7066, 54.4622)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47C5 #6FC547
analogous
#5E47C5 #9D47C5 #C547AE
triadic
#9D47C5 #C59D47 #47C59D
tetradic
#9D47C5 #C55E47 #6FC547 #47AEC5
square
#9D47C5 #C55E47 #6FC547 #47AEC5
split-complementary
#9D47C5 #AEC547 #47C55E
monochromatic
#57236F #7B329D #9D47C5 #B676D4 #CFA4E2

Accessibility & contrast

On white

5.07
#9D47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9D47C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47C5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47C5#FFFFFF#000000##FFFFFF
##9D47C51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6AC9
Deuteranopia (green-blind)
#4070C2
Tritanopia (blue-blind)
#995F80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d47c5;
/* rgb */ color: rgb(157, 71, 197);
/* oklch */ color: oklch(56.4% 0.197 313.3);
Tailwind
colors: {
  custom: {
    50: '#bd80d7',
    500: '#9d47c5',
    950: '#000000',
  },
}
SCSS
$custom: #9d47c5;
$custom-light: #bd80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47c5",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 280.952,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.19656,
    "h": 313.3
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#9D47C5
secondary
#AACF99
accent
#DC4C7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D47C5

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

Preview Lab → · Contrast checker → · Palette generator →

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