#9E47E9#9E47E9

#9E47E9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.233 H 304.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9E47E9
RGBrgb(158, 71, 233)
HSLhsl(272, 79%, 60%)
HSVhsv(272, 70%, 91%)
CMYKcmyk(32.2%, 69.5%, 0%, 8.6%)
CIE-LABlab(49.08, 63.87, -67.39)
CIE-LCHlch(49.08, 92.85, 313.46°)
OKLaboklab(58.94% 0.1327 -0.1916)
OKLCHoklch(58.94% 0.233 304.7)
XYZxyz(31.0585, 17.6589, 78.8473)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47E9 #92E947
analogous
#4D47E9 #9E47E9 #E947E3
triadic
#9E47E9 #E99E47 #47E99E
tetradic
#9E47E9 #E94D47 #92E947 #47E3E9
square
#9E47E9 #E94D47 #92E947 #47E3E9
split-complementary
#9E47E9 #E3E947 #47E94D
monochromatic
#6013A2 #801AD9 #9E47E9 #BB7EF0 #D8B4F6

Accessibility & contrast

On white

4.63
#9E47E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9E47E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47E9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47E9#FFFFFF#000000##FFFFFF
##9E47E91.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#906D93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e47e9;
/* rgb */ color: rgb(158, 71, 233);
/* oklch */ color: oklch(58.9% 0.233 304.7);
Tailwind
colors: {
  custom: {
    50: '#c081f1',
    500: '#9e47e9',
    950: '#000000',
  },
}
SCSS
$custom: #9e47e9;
$custom-light: #c081f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47e9",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 233
  },
  "hsl": {
    "h": 272.222,
    "s": 78.641,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.23305,
    "h": 304.7
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#9E47E9
secondary
#C4E5A6
accent
#F5338D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E47E9

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

Preview Lab → · Contrast checker → · Palette generator →

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