#9E47AC#9E47AC

#9E47AC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.172 H 321.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9E47AC
RGBrgb(158, 71, 172)
HSLhsl(292, 42%, 48%)
HSVhsv(292, 59%, 67%)
CMYKcmyk(8.1%, 58.7%, 0%, 32.5%)
CIE-LABlab(45.30, 50.93, -38.29)
CIE-LCHlch(45.30, 63.72, 323.07°)
OKLaboklab(55% 0.1357 -0.1063)
OKLCHoklch(55% 0.172 321.9)
XYZxyz(23.7994, 14.7553, 40.6162)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47AC #55AC47
analogous
#6B47AC #9E47AC #AC4788
triadic
#9E47AC #AC9E47 #47AC9E
tetradic
#9E47AC #AC6B47 #55AC47 #4788AC
square
#9E47AC #AC6B47 #55AC47 #4788AC
split-complementary
#9E47AC #88AC47 #47AC6B
monochromatic
#4E2355 #763581 #9E47AC #B76DC3 #CC99D5

Accessibility & contrast

On white

5.32
#9E47AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9E47AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47AC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47AC#FFFFFF#000000##FFFFFF
##9E47AC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#A05673
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e47ac;
/* rgb */ color: rgb(158, 71, 172);
/* oklch */ color: oklch(55.0% 0.172 321.9);
Tailwind
colors: {
  custom: {
    50: '#bd7fc5',
    500: '#9e47ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e47ac;
$custom-light: #bd7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47ac",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 291.683,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.17238,
    "h": 321.9
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#9E47AC
secondary
#95C18E
accent
#D15667
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9E47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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