#9E4EAC#9E4EAC

#9E4EAC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.9% C 0.161 H 321.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9E4EAC
RGBrgb(158, 78, 172)
HSLhsl(291, 38%, 49%)
HSVhsv(291, 55%, 67%)
CMYKcmyk(8.1%, 54.7%, 0%, 32.5%)
CIE-LABlab(46.58, 47.49, -36.27)
CIE-LCHlch(46.58, 59.76, 322.63°)
OKLaboklab(55.94% 0.1263 -0.1005)
OKLCHoklch(55.94% 0.161 321.5)
XYZxyz(24.2705, 15.6975, 40.7732)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EAC #5CAC4E
analogous
#6F4EAC #9E4EAC #AC4E8B
triadic
#9E4EAC #AC9E4E #4EAC9E
tetradic
#9E4EAC #AC6F4E #5CAC4E #4E8BAC
square
#9E4EAC #AC6F4E #5CAC4E #4E8BAC
split-complementary
#9E4EAC #8BAC4E #4EAC6F
monochromatic
#512858 #773B82 #9E4EAC #B676C1 #CCA0D4

Accessibility & contrast

On white

5.07
#9E4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9E4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4EAC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EAC#FFFFFF#000000##FFFFFF
##9E4EAC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#A05B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4eac;
/* rgb */ color: rgb(158, 78, 172);
/* oklch */ color: oklch(55.9% 0.161 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd83c5',
    500: '#9e4eac',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eac;
$custom-light: #bd83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eac",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 291.064,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.16144,
    "h": 321.5
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#9E4EAC
secondary
#9BC195
accent
#CE5A6B
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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