#9E4AAA#9E4AAA

#9E4AAA is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.3% C 0.166 H 322.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9E4AAA
RGBrgb(158, 74, 170)
HSLhsl(293, 39%, 48%)
HSVhsv(293, 56%, 67%)
CMYKcmyk(7.1%, 56.5%, 0%, 33.3%)
CIE-LABlab(45.73, 49.09, -36.42)
CIE-LCHlch(45.73, 61.13, 323.43°)
OKLaboklab(55.28% 0.1316 -0.1009)
OKLCHoklch(55.28% 0.166 322.5)
XYZxyz(23.8043, 15.0701, 39.6774)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4AAA #56AA4A
analogous
#6E4AAA #9E4AAA #AA4A86
triadic
#9E4AAA #AA9E4A #4AAA9E
tetradic
#9E4AAA #AA6E4A #56AA4A #4A86AA
square
#9E4AAA #AA6E4A #56AA4A #4A86AA
split-complementary
#9E4AAA #86AA4A #4AAA6E
monochromatic
#4F2555 #76377F #9E4AAA #B770C1 #CC9BD3

Accessibility & contrast

On white

5.23
#9E4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9E4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4AAA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4AAA#FFFFFF#000000##FFFFFF
##9E4AAA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#A05773
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e4aaa;
/* rgb */ color: rgb(158, 74, 170);
/* oklch */ color: oklch(55.3% 0.166 322.5);
Tailwind
colors: {
  custom: {
    50: '#bd81c3',
    500: '#9e4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #9e4aaa;
$custom-light: #bd81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4aaa",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 292.5,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.16582,
    "h": 322.5
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#9E4AAA
secondary
#96C090
accent
#CF5967
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9E4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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