#9E4AB2#9E4AB2

#9E4AB2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.7% C 0.174 H 319.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9E4AB2
RGBrgb(158, 74, 178)
HSLhsl(288, 41%, 49%)
HSVhsv(288, 58%, 70%)
CMYKcmyk(11.2%, 58.4%, 0%, 30.2%)
CIE-LABlab(46.15, 50.67, -40.46)
CIE-LCHlch(46.15, 64.84, 321.39°)
OKLaboklab(55.73% 0.1321 -0.1127)
OKLCHoklch(55.73% 0.174 319.5)
XYZxyz(24.5842, 15.3821, 43.7849)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4AB2 #5EB24A
analogous
#6A4AB2 #9E4AB2 #B24A92
triadic
#9E4AB2 #B29E4A #4AB29E
tetradic
#9E4AB2 #B26A4A #5EB24A #4A92B2
square
#9E4AB2 #B26A4A #5EB24A #4A92B2
split-complementary
#9E4AB2 #92B24A #4AB26A
monochromatic
#51265C #783887 #9E4AB2 #B674C5 #CC9FD7

Accessibility & contrast

On white

5.15
#9E4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9E4AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4AB2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4AB2#FFFFFF#000000##FFFFFF
##9E4AB21.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#9F5A77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9e4ab2;
/* rgb */ color: rgb(158, 74, 178);
/* oklch */ color: oklch(55.7% 0.174 319.5);
Tailwind
colors: {
  custom: {
    50: '#bd81c9',
    500: '#9e4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ab2;
$custom-light: #bd81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ab2",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 288.462,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.17366,
    "h": 319.5
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#9E4AB2
secondary
#9DC494
accent
#D1576E
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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