#9E47E1#9E47E1

#9E47E1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.225 H 306.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E47E1
RGBrgb(158, 71, 225)
HSLhsl(274, 72%, 58%)
HSVhsv(274, 68%, 88%)
CMYKcmyk(29.8%, 68.4%, 0%, 11.8%)
CIE-LABlab(48.53, 62.08, -63.77)
CIE-LCHlch(48.53, 88.99, 314.23°)
OKLaboklab(58.37% 0.1338 -0.1809)
OKLCHoklch(58.37% 0.225 306.5)
XYZxyz(29.9415, 17.2121, 72.9645)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47E1 #8AE147
analogous
#5147E1 #9E47E1 #E147D7
triadic
#9E47E1 #E19E47 #47E19E
tetradic
#9E47E1 #E15147 #8AE147 #47D7E1
square
#9E47E1 #E15147 #8AE147 #47D7E1
split-complementary
#9E47E1 #D7E147 #47E151
monochromatic
#5F1895 #8021CA #9E47E1 #BA7CEA #D5B0F2

Accessibility & contrast

On white

4.73
#9E47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9E47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47E1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47E1#FFFFFF#000000##FFFFFF
##9E47E11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#1674DE
Tritanopia (blue-blind)
#936A8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e47e1;
/* rgb */ color: rgb(158, 71, 225);
/* oklch */ color: oklch(58.4% 0.225 306.5);
Tailwind
colors: {
  custom: {
    50: '#c081eb',
    500: '#9e47e1',
    950: '#000000',
  },
}
SCSS
$custom: #9e47e1;
$custom-light: #c081eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47e1",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 273.896,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58366,
    "c": 0.22501,
    "h": 306.5
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#9E47E1
secondary
#BEE1A3
accent
#EF3988
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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