#9E4E97#9E4E97

#9E4E97 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.141 H 330.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9E4E97
RGBrgb(158, 78, 151)
HSLhsl(305, 34%, 46%)
HSVhsv(305, 51%, 62%)
CMYKcmyk(0%, 50.6%, 4.4%, 38%)
CIE-LABlab(45.57, 43.50, -25.39)
CIE-LCHlch(45.57, 50.37, 329.74°)
OKLaboklab(54.87% 0.1232 -0.0693)
OKLCHoklch(54.87% 0.141 330.7)
XYZxyz(22.4107, 14.9536, 30.9781)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4E97 #4E9E55
analogous
#7D4E9E #9E4E97 #9E4E6F
triadic
#9E4E97 #979E4E #4E979E
tetradic
#9E4E97 #9E7D4E #4E9E55 #4E6F9E
square
#9E4E97 #9E7D4E #4E9E55 #4E6F9E
split-complementary
#9E4E97 #6F9E4E #4E9E7D
monochromatic
#4C2649 #753A70 #9E4E97 #B971B2 #CD9AC8

Accessibility & contrast

On white

5.26
#9E4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9E4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4E97
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4E97#FFFFFF#000000##FFFFFF
##9E4E971.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6599
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#A3556B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e4e97;
/* rgb */ color: rgb(158, 78, 151);
/* oklch */ color: oklch(54.9% 0.141 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd83b6',
    500: '#9e4e97',
    950: '#000000',
  },
}
SCSS
$custom: #9e4e97;
$custom-light: #bd83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4e97",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 305.25,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.14137,
    "h": 330.7
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#9E4E97
secondary
#8EBA92
accent
#CA675E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9E4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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