#9E4EAE#9E4EAE

#9E4EAE is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.0% C 0.163 H 320.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9E4EAE
RGBrgb(158, 78, 174)
HSLhsl(290, 38%, 49%)
HSVhsv(290, 55%, 68%)
CMYKcmyk(9.2%, 55.2%, 0%, 31.8%)
CIE-LABlab(46.68, 47.89, -37.28)
CIE-LCHlch(46.68, 60.69, 322.10°)
OKLaboklab(56.05% 0.1265 -0.1035)
OKLCHoklch(56.05% 0.163 320.7)
XYZxyz(24.4640, 15.7749, 41.7924)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EAE #5EAE4E
analogous
#6E4EAE #9E4EAE #AE4E8E
triadic
#9E4EAE #AE9E4E #4EAE9E
tetradic
#9E4EAE #AE6E4E #5EAE4E #4E8EAE
square
#9E4EAE #AE6E4E #5EAE4E #4E8EAE
split-complementary
#9E4EAE #8EAE4E #4EAE6E
monochromatic
#512859 #783B84 #9E4EAE #B677C2 #CCA1D5

Accessibility & contrast

On white

5.05
#9E4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9E4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4EAE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EAE#FFFFFF#000000##FFFFFF
##9E4EAE1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#9F5C77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4eae;
/* rgb */ color: rgb(158, 78, 174);
/* oklch */ color: oklch(56.0% 0.163 320.7);
Tailwind
colors: {
  custom: {
    50: '#bd83c6',
    500: '#9e4eae',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eae;
$custom-light: #bd83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eae",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 290,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.16344,
    "h": 320.7
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#9E4EAE
secondary
#9DC296
accent
#CE5A6D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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