#9D47BE#9D47BE

#9D47BE is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.190 H 315.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D47BE
RGBrgb(157, 71, 190)
HSLhsl(283, 48%, 51%)
HSVhsv(283, 63%, 75%)
CMYKcmyk(17.4%, 62.6%, 0%, 25.5%)
CIE-LABlab(46.17, 54.31, -47.46)
CIE-LCHlch(46.17, 72.12, 318.85°)
OKLaboklab(55.93% 0.135 -0.1331)
OKLCHoklch(55.93% 0.19 315.4)
XYZxyz(25.4507, 15.3931, 50.3357)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47BE #68BE47
analogous
#6147BE #9D47BE #BE47A3
triadic
#9D47BE #BE9D47 #47BE9D
tetradic
#9D47BE #BE6147 #68BE47 #47A3BE
square
#9D47BE #BE6147 #68BE47 #47A3BE
split-complementary
#9D47BE #A3BE47 #47BE61
monochromatic
#542466 #793494 #9D47BE #B574CE #CDA1DE

Accessibility & contrast

On white

5.15
#9D47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47BE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47BE#FFFFFF#000000##FFFFFF
##9D47BE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#4670BB
Tritanopia (blue-blind)
#9B5C7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d47be;
/* rgb */ color: rgb(157, 71, 190);
/* oklch */ color: oklch(55.9% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#bd7fd2',
    500: '#9d47be',
    950: '#000000',
  },
}
SCSS
$custom: #9d47be;
$custom-light: #bd7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47be",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 283.361,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.18956,
    "h": 315.4
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#9D47BE
secondary
#A5CB96
accent
#D75076
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9D47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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