#9E47C7#9E47C7

#9E47C7 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.199 H 313.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9E47C7
RGBrgb(158, 71, 199)
HSLhsl(281, 53%, 53%)
HSVhsv(281, 64%, 78%)
CMYKcmyk(20.6%, 64.3%, 0%, 22%)
CIE-LABlab(46.84, 56.43, -51.59)
CIE-LCHlch(46.84, 76.46, 317.56°)
OKLaboklab(56.62% 0.136 -0.1452)
OKLCHoklch(56.62% 0.199 313.1)
XYZxyz(26.6608, 15.8999, 55.6863)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47C7 #70C747
analogous
#5E47C7 #9E47C7 #C747B0
triadic
#9E47C7 #C79E47 #47C79E
tetradic
#9E47C7 #C75E47 #70C747 #47B0C7
square
#9E47C7 #C75E47 #70C747 #47B0C7
split-complementary
#9E47C7 #B0C747 #47C75E
monochromatic
#582271 #7C31A0 #9E47C7 #B776D5 #CFA5E4

Accessibility & contrast

On white

5.02
#9E47C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9E47C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47C7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47C7#FFFFFF#000000##FFFFFF
##9E47C71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ACB
Deuteranopia (green-blind)
#3F71C4
Tritanopia (blue-blind)
#9A6081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e47c7;
/* rgb */ color: rgb(158, 71, 199);
/* oklch */ color: oklch(56.6% 0.199 313.1);
Tailwind
colors: {
  custom: {
    50: '#be80d9',
    500: '#9e47c7',
    950: '#000000',
  },
}
SCSS
$custom: #9e47c7;
$custom-light: #be80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47c7",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 280.781,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.19892,
    "h": 313.1
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#9E47C7
secondary
#ABD199
accent
#DD4B7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E47C7

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

Preview Lab → · Contrast checker → · Palette generator →

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