#9E47BC#9E47BC

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

Color values

HEX#9E47BC
RGBrgb(158, 71, 188)
HSLhsl(285, 47%, 51%)
HSVhsv(285, 62%, 74%)
CMYKcmyk(16%, 62.2%, 0%, 26.3%)
CIE-LABlab(46.19, 54.13, -46.26)
CIE-LCHlch(46.19, 71.20, 319.49°)
OKLaboklab(55.94% 0.1362 -0.1295)
OKLCHoklch(55.94% 0.188 316.4)
XYZxyz(25.4295, 15.4074, 49.2016)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47BC #65BC47
analogous
#6347BC #9E47BC #BC47A0
triadic
#9E47BC #BC9E47 #47BC9E
tetradic
#9E47BC #BC6347 #65BC47 #47A0BC
square
#9E47BC #BC6347 #65BC47 #47A0BC
split-complementary
#9E47BC #A0BC47 #47BC63
monochromatic
#542464 #793591 #9E47BC #B674CC #CDA1DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E47BC#FFFFFF#000000##FFFFFF
##9E47BC1.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)
#2168C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#9C5C7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e47bc;
/* rgb */ color: rgb(158, 71, 188);
/* oklch */ color: oklch(55.9% 0.188 316.4);
Tailwind
colors: {
  custom: {
    50: '#be7fd1',
    500: '#9e47bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e47bc;
$custom-light: #be7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47bc",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 284.615,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.18799,
    "h": 316.4
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#9E47BC
secondary
#A3C995
accent
#D65274
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9E47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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