#9D47BC#9D47BC

#9D47BC is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.188 H 316.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D47BC
RGBrgb(157, 71, 188)
HSLhsl(284, 47%, 51%)
HSVhsv(284, 62%, 74%)
CMYKcmyk(16.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(46.05, 53.89, -46.48)
CIE-LCHlch(46.05, 71.17, 319.22°)
OKLaboklab(55.81% 0.135 -0.1302)
OKLCHoklch(55.81% 0.188 316)
XYZxyz(25.2336, 15.3063, 49.1924)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47BC #66BC47
analogous
#6247BC #9D47BC #BC47A0
triadic
#9D47BC #BC9D47 #47BC9D
tetradic
#9D47BC #BC6247 #66BC47 #47A0BC
square
#9D47BC #BC6247 #66BC47 #47A0BC
split-complementary
#9D47BC #A0BC47 #47BC62
monochromatic
#532464 #793591 #9D47BC #B574CC #CDA1DD

Accessibility & contrast

On white

5.17
#9D47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9D47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47BC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47BC#FFFFFF#000000##FFFFFF
##9D47BC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#4770B9
Tritanopia (blue-blind)
#9B5C7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d47bc;
/* rgb */ color: rgb(157, 71, 188);
/* oklch */ color: oklch(55.8% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#bd7fd1',
    500: '#9d47bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d47bc;
$custom-light: #bd7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47bc",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 284.103,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.18757,
    "h": 316
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#9D47BC
secondary
#A3C995
accent
#D65275
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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