#9E4EAA#9E4EAA

#9E4EAA is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.8% C 0.159 H 322.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9E4EAA
RGBrgb(158, 78, 170)
HSLhsl(292, 37%, 49%)
HSVhsv(292, 54%, 67%)
CMYKcmyk(7.1%, 54.1%, 0%, 33.3%)
CIE-LABlab(46.47, 47.10, -35.25)
CIE-LCHlch(46.47, 58.83, 323.19°)
OKLaboklab(55.83% 0.1261 -0.0976)
OKLCHoklch(55.83% 0.159 322.3)
XYZxyz(24.0799, 15.6213, 39.7692)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EAA #5AAA4E
analogous
#704EAA #9E4EAA #AA4E88
triadic
#9E4EAA #AA9E4E #4EAA9E
tetradic
#9E4EAA #AA704E #5AAA4E #4E88AA
square
#9E4EAA #AA704E #5AAA4E #4E88AA
split-complementary
#9E4EAA #88AA4E #4EAA70
monochromatic
#502856 #773B80 #9E4EAA #B675C0 #CC9FD3

Accessibility & contrast

On white

5.09
#9E4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9E4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4EAA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EAA#FFFFFF#000000##FFFFFF
##9E4EAA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#A05B75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4eaa;
/* rgb */ color: rgb(158, 78, 170);
/* oklch */ color: oklch(55.8% 0.159 322.3);
Tailwind
colors: {
  custom: {
    50: '#bd83c3',
    500: '#9e4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eaa;
$custom-light: #bd83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eaa",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 292.174,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5583,
    "c": 0.15945,
    "h": 322.3
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#9E4EAA
secondary
#9AC094
accent
#CD5B6A
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9E4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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