#9E47BB#9E47BB

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

Color values

HEX#9E47BB
RGBrgb(158, 71, 187)
HSLhsl(285, 46%, 51%)
HSVhsv(285, 62%, 73%)
CMYKcmyk(15.5%, 62%, 0%, 26.7%)
CIE-LABlab(46.13, 53.93, -45.76)
CIE-LCHlch(46.13, 70.73, 319.68°)
OKLaboklab(55.88% 0.1362 -0.1281)
OKLCHoklch(55.88% 0.187 316.8)
XYZxyz(25.3221, 15.3644, 48.6358)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47BB #64BB47
analogous
#6447BB #9E47BB #BB479E
triadic
#9E47BB #BB9E47 #47BB9E
tetradic
#9E47BB #BB6447 #64BB47 #479EBB
square
#9E47BB #BB6447 #64BB47 #479EBB
split-complementary
#9E47BB #9EBB47 #47BB64
monochromatic
#532563 #793590 #9E47BB #B674CC #CDA0DC

Accessibility & contrast

On white

5.16
#9E47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9E47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47BB#FFFFFF#000000##FFFFFF
##9E47BB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#9D5B7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e47bb;
/* rgb */ color: rgb(158, 71, 187);
/* oklch */ color: oklch(55.9% 0.187 316.8);
Tailwind
colors: {
  custom: {
    50: '#be7fd0',
    500: '#9e47bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e47bb;
$custom-light: #be7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47bb",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.187,
    "h": 316.8
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#9E47BB
secondary
#A2C995
accent
#D65273
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9E47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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