#9D47BB#9D47BB

#9D47BB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.187 H 316.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9D47BB
RGBrgb(157, 71, 187)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 62%, 73%)
CMYKcmyk(16%, 62%, 0%, 26.7%)
CIE-LABlab(45.99, 53.69, -45.99)
CIE-LCHlch(45.99, 70.69, 319.42°)
OKLaboklab(55.75% 0.135 -0.1288)
OKLCHoklch(55.75% 0.187 316.3)
XYZxyz(25.1262, 15.2633, 48.6266)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D47BB #65BB47
analogous
#6347BB #9D47BB #BB479F
triadic
#9D47BB #BB9D47 #47BB9D
tetradic
#9D47BB #BB6347 #65BB47 #479FBB
square
#9D47BB #BB6347 #65BB47 #479FBB
split-complementary
#9D47BB #9FBB47 #47BB63
monochromatic
#532563 #783590 #9D47BB #B574CC #CDA0DC

Accessibility & contrast

On white

5.18
#9D47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9D47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D47BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D47BB#FFFFFF#000000##FFFFFF
##9D47BB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#9B5B7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d47bb;
/* rgb */ color: rgb(157, 71, 187);
/* oklch */ color: oklch(55.7% 0.187 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd7fd0',
    500: '#9d47bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d47bb;
$custom-light: #bd7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d47bb",
  "rgb": {
    "r": 157,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 284.483,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.18658,
    "h": 316.3
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#9D47BB
secondary
#A2C995
accent
#D65274
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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