#9E47E5#9E47E5

#9E47E5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.229 H 305.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9E47E5
RGBrgb(158, 71, 229)
HSLhsl(273, 75%, 59%)
HSVhsv(273, 69%, 90%)
CMYKcmyk(31%, 69%, 0%, 10.2%)
CIE-LABlab(48.80, 62.97, -65.59)
CIE-LCHlch(48.80, 90.92, 313.84°)
OKLaboklab(58.65% 0.1333 -0.1863)
OKLCHoklch(58.65% 0.229 305.6)
XYZxyz(30.4935, 17.4330, 75.8720)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E47E5 #8EE547
analogous
#4F47E5 #9E47E5 #E547DD
triadic
#9E47E5 #E59E47 #47E59E
tetradic
#9E47E5 #E54F47 #8EE547 #47DDE5
square
#9E47E5 #E54F47 #8EE547 #47DDE5
split-complementary
#9E47E5 #DDE547 #47E54F
monochromatic
#60169C #801ED1 #9E47E5 #BA7DED #D7B2F4

Accessibility & contrast

On white

4.68
#9E47E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9E47E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E47E5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E47E5#FFFFFF#000000##FFFFFF
##9E47E51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0474E2
Tritanopia (blue-blind)
#916B91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e47e5;
/* rgb */ color: rgb(158, 71, 229);
/* oklch */ color: oklch(58.6% 0.229 305.6);
Tailwind
colors: {
  custom: {
    50: '#c081ee',
    500: '#9e47e5',
    950: '#000000',
  },
}
SCSS
$custom: #9e47e5;
$custom-light: #c081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e47e5",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 273.038,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58649,
    "c": 0.22904,
    "h": 305.6
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#9E47E5
secondary
#C1E3A5
accent
#F2368A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E47E5

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

Preview Lab → · Contrast checker → · Palette generator →

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