#9E47AA#9E47AA

#9E47AA is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.170 H 322.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9E47AA
RGBrgb(158, 71, 170)
HSLhsl(293, 41%, 47%)
HSVhsv(293, 58%, 67%)
CMYKcmyk(7.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(45.19, 50.55, -37.27)
CIE-LCHlch(45.19, 62.80, 323.60°)
OKLaboklab(54.89% 0.1355 -0.1034)
OKLCHoklch(54.89% 0.17 322.7)
XYZxyz(23.6088, 14.6790, 39.6122)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47AA #53AA47
analogous
#6C47AA #9E47AA #AA4785
triadic
#9E47AA #AA9E47 #47AA9E
tetradic
#9E47AA #AA6C47 #53AA47 #4785AA
square
#9E47AA #AA6C47 #53AA47 #4785AA
split-complementary
#9E47AA #85AA47 #47AA6C
monochromatic
#4E2354 #76357F #9E47AA #B76CC2 #CD98D4

Accessibility & contrast

On white

5.34
#9E47AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9E47AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47AA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47AA#FFFFFF#000000##FFFFFF
##9E47AA1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#A05572
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e47aa;
/* rgb */ color: rgb(158, 71, 170);
/* oklch */ color: oklch(54.9% 0.170 322.7);
Tailwind
colors: {
  custom: {
    50: '#bd7fc4',
    500: '#9e47aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e47aa;
$custom-light: #bd7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47aa",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 292.727,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.17047,
    "h": 322.7
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#9E47AA
secondary
#93C08D
accent
#D15766
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9E47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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