#9E4E98#9E4E98

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

Color values

HEX#9E4E98
RGBrgb(158, 78, 152)
HSLhsl(305, 34%, 46%)
HSVhsv(305, 51%, 62%)
CMYKcmyk(0%, 50.6%, 3.8%, 38%)
CIE-LABlab(45.62, 43.68, -25.91)
CIE-LCHlch(45.62, 50.79, 329.32°)
OKLaboklab(54.92% 0.1234 -0.0708)
OKLCHoklch(54.92% 0.142 330.2)
XYZxyz(22.4922, 14.9862, 31.4076)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4E98 #4E9E54
analogous
#7C4E9E #9E4E98 #9E4E70
triadic
#9E4E98 #989E4E #4E989E
tetradic
#9E4E98 #9E7C4E #4E9E54 #4E709E
square
#9E4E98 #9E7C4E #4E9E54 #4E709E
split-complementary
#9E4E98 #709E4E #4E9E7C
monochromatic
#4C2649 #753A71 #9E4E98 #B971B3 #CD9AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E4E98#FFFFFF#000000##FFFFFF
##9E4E981.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)
#4A659A
Deuteranopia (green-blind)
#617096
Tritanopia (blue-blind)
#A3556C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9e4e98;
/* rgb */ color: rgb(158, 78, 152);
/* oklch */ color: oklch(54.9% 0.142 330.2);
Tailwind
colors: {
  custom: {
    50: '#bd83b6',
    500: '#9e4e98',
    950: '#000000',
  },
}
SCSS
$custom: #9e4e98;
$custom-light: #bd83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4e98",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 304.5,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.14227,
    "h": 330.2
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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