#9E3ACE#9E3ACE

#9E3ACE is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.222 H 312.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9E3ACE
RGBrgb(158, 58, 206)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 72%, 81%)
CMYKcmyk(23.3%, 71.8%, 0%, 19.2%)
CIE-LABlab(45.29, 63.48, -58.13)
CIE-LCHlch(45.29, 86.07, 317.52°)
OKLaboklab(55.66% 0.1493 -0.1643)
OKLCHoklch(55.66% 0.222 312.3)
XYZxyz(26.7522, 14.7522, 59.8188)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3ACE #6ACE3A
analogous
#543ACE #9E3ACE #CE3AB4
triadic
#9E3ACE #CE9E3A #3ACE9E
tetradic
#9E3ACE #CE543A #6ACE3A #3AB4CE
square
#9E3ACE #CE543A #6ACE3A #3AB4CE
split-complementary
#9E3ACE #B4CE3A #3ACE54
monochromatic
#561C71 #7B28A2 #9E3ACE #B66BDA #CE9CE6

Accessibility & contrast

On white

5.32
#9E3ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9E3ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3ACE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3ACE#FFFFFF#000000##FFFFFF
##9E3ACE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#985B81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e3ace;
/* rgb */ color: rgb(158, 58, 206);
/* oklch */ color: oklch(55.7% 0.222 312.3);
Tailwind
colors: {
  custom: {
    50: '#bf79de',
    500: '#9e3ace',
    950: '#000000',
  },
}
SCSS
$custom: #9e3ace;
$custom-light: #bf79de;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3ace",
  "rgb": {
    "r": 158,
    "g": 58,
    "b": 206
  },
  "hsl": {
    "h": 280.541,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55655,
    "c": 0.22197,
    "h": 312.3
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#9E3ACE
secondary
#A6D291
accent
#E34478
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E3ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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