#9E4E99#9E4E99

#9E4E99 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.0% C 0.143 H 329.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9E4E99
RGBrgb(158, 78, 153)
HSLhsl(304, 34%, 46%)
HSVhsv(304, 51%, 62%)
CMYKcmyk(0%, 50.6%, 3.2%, 38%)
CIE-LABlab(45.66, 43.87, -26.44)
CIE-LCHlch(45.66, 51.22, 328.92°)
OKLaboklab(54.96% 0.1236 -0.0723)
OKLCHoklch(54.96% 0.143 329.7)
XYZxyz(22.5745, 15.0191, 31.8408)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4E99 #4E9E53
analogous
#7B4E9E #9E4E99 #9E4E71
triadic
#9E4E99 #999E4E #4E999E
tetradic
#9E4E99 #9E7B4E #4E9E53 #4E719E
square
#9E4E99 #9E7B4E #4E9E53 #4E719E
split-complementary
#9E4E99 #719E4E #4E9E7B
monochromatic
#4C264A #753A71 #9E4E99 #B971B4 #CD9ACA

Accessibility & contrast

On white

5.25
#9E4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9E4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4E99
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4E99#FFFFFF#000000##FFFFFF
##9E4E991.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659C
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#A3556C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e4e99;
/* rgb */ color: rgb(158, 78, 153);
/* oklch */ color: oklch(55.0% 0.143 329.7);
Tailwind
colors: {
  custom: {
    50: '#bd83b7',
    500: '#9e4e99',
    950: '#000000',
  },
}
SCSS
$custom: #9e4e99;
$custom-light: #bd83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4e99",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 303.75,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.14319,
    "h": 329.7
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#9E4E99
secondary
#8EBA91
accent
#CA655E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9E4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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