#9E4E95#9E4E95

#9E4E95 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.8% C 0.140 H 331.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9E4E95
RGBrgb(158, 78, 149)
HSLhsl(307, 34%, 46%)
HSVhsv(307, 51%, 62%)
CMYKcmyk(0%, 50.6%, 5.7%, 38%)
CIE-LABlab(45.48, 43.14, -24.33)
CIE-LCHlch(45.48, 49.53, 330.58°)
OKLaboklab(54.77% 0.1228 -0.0662)
OKLCHoklch(54.77% 0.14 331.7)
XYZxyz(22.2496, 14.8892, 30.1299)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4E95 #4E9E57
analogous
#7F4E9E #9E4E95 #9E4E6D
triadic
#9E4E95 #959E4E #4E959E
tetradic
#9E4E95 #9E7F4E #4E9E57 #4E6D9E
square
#9E4E95 #9E7F4E #4E9E57 #4E6D9E
split-complementary
#9E4E95 #6D9E4E #4E9E7F
monochromatic
#4C2648 #753A6E #9E4E95 #B971B1 #CD9AC7

Accessibility & contrast

On white

5.28
#9E4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9E4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4E95
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4E95#FFFFFF#000000##FFFFFF
##9E4E951.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6597
Deuteranopia (green-blind)
#627093
Tritanopia (blue-blind)
#A4546B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e4e95;
/* rgb */ color: rgb(158, 78, 149);
/* oklch */ color: oklch(54.8% 0.140 331.7);
Tailwind
colors: {
  custom: {
    50: '#bd83b4',
    500: '#9e4e95',
    950: '#000000',
  },
}
SCSS
$custom: #9e4e95;
$custom-light: #bd83b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4e95",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 306.75,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.13957,
    "h": 331.7
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#9E4E95
secondary
#8EBA93
accent
#CA6A5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9E4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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