#9E47CC#9E47CC

#9E47CC is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.204 H 311.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9E47CC
RGBrgb(158, 71, 204)
HSLhsl(279, 57%, 54%)
HSVhsv(279, 65%, 80%)
CMYKcmyk(22.5%, 65.2%, 0%, 20%)
CIE-LABlab(47.15, 57.49, -53.98)
CIE-LCHlch(47.15, 78.86, 316.80°)
OKLaboklab(56.94% 0.1358 -0.1522)
OKLCHoklch(56.94% 0.204 311.7)
XYZxyz(27.2509, 16.1359, 58.7940)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47CC #75CC47
analogous
#5C47CC #9E47CC #CC47B8
triadic
#9E47CC #CC9E47 #47CC9E
tetradic
#9E47CC #CC5C47 #75CC47 #47B8CC
square
#9E47CC #CC5C47 #75CC47 #47B8CC
split-complementary
#9E47CC #B8CC47 #47CC5C
monochromatic
#5A2177 #7E2EA7 #9E47CC #B777D9 #D1A7E7

Accessibility & contrast

On white

4.97
#9E47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9E47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47CC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47CC#FFFFFF#000000##FFFFFF
##9E47CC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#996283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e47cc;
/* rgb */ color: rgb(158, 71, 204);
/* oklch */ color: oklch(56.9% 0.204 311.7);
Tailwind
colors: {
  custom: {
    50: '#be80dc',
    500: '#9e47cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e47cc;
$custom-light: #be80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47cc",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 279.248,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.20393,
    "h": 311.7
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#9E47CC
secondary
#AFD49B
accent
#E0487C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9E47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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