#9E47E8#9E47E8

#9E47E8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.232 H 304.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9E47E8
RGBrgb(158, 71, 232)
HSLhsl(272, 78%, 59%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(31.9%, 69.4%, 0%, 9%)
CIE-LABlab(49.01, 63.65, -66.94)
CIE-LCHlch(49.01, 92.37, 313.56°)
OKLaboklab(58.86% 0.1329 -0.1902)
OKLCHoklch(58.86% 0.232 304.9)
XYZxyz(30.9160, 17.6019, 78.0971)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47E8 #91E847
analogous
#4D47E8 #9E47E8 #E847E2
triadic
#9E47E8 #E89E47 #47E89E
tetradic
#9E47E8 #E84D47 #91E847 #47E2E8
square
#9E47E8 #E84D47 #91E847 #47E2E8
split-complementary
#9E47E8 #E2E847 #47E84D
monochromatic
#6014A1 #801BD7 #9E47E8 #BB7DEF #D7B4F6

Accessibility & contrast

On white

4.65
#9E47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9E47E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47E8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47E8#FFFFFF#000000##FFFFFF
##9E47E81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#906C93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e47e8;
/* rgb */ color: rgb(158, 71, 232);
/* oklch */ color: oklch(58.9% 0.232 304.9);
Tailwind
colors: {
  custom: {
    50: '#c081f0',
    500: '#9e47e8',
    950: '#000000',
  },
}
SCSS
$custom: #9e47e8;
$custom-light: #c081f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47e8",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 272.422,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.23204,
    "h": 304.9
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#9E47E8
secondary
#C3E5A6
accent
#F4348C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E47E8

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

Preview Lab → · Contrast checker → · Palette generator →

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