#9E4E91#9E4E91

#9E4E91 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.6% C 0.136 H 333.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9E4E91
RGBrgb(158, 78, 145)
HSLhsl(310, 34%, 46%)
HSVhsv(310, 51%, 62%)
CMYKcmyk(0%, 50.6%, 8.2%, 38%)
CIE-LABlab(45.31, 42.43, -22.20)
CIE-LCHlch(45.31, 47.89, 332.39°)
OKLaboklab(54.59% 0.122 -0.0602)
OKLCHoklch(54.59% 0.136 333.7)
XYZxyz(21.9358, 14.7636, 28.4769)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4E91 #4E9E5B
analogous
#834E9E #9E4E91 #9E4E69
triadic
#9E4E91 #919E4E #4E919E
tetradic
#9E4E91 #9E834E #4E9E5B #4E699E
square
#9E4E91 #9E834E #4E9E5B #4E699E
split-complementary
#9E4E91 #699E4E #4E9E83
monochromatic
#4C2646 #753A6B #9E4E91 #B971AD #CD9AC5

Accessibility & contrast

On white

5.31
#9E4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9E4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4E91
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4E91#FFFFFF#000000##FFFFFF
##9E4E911.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#646F8F
Tritanopia (blue-blind)
#A45369
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9e4e91;
/* rgb */ color: rgb(158, 78, 145);
/* oklch */ color: oklch(54.6% 0.136 333.7);
Tailwind
colors: {
  custom: {
    50: '#bd83b1',
    500: '#9e4e91',
    950: '#000000',
  },
}
SCSS
$custom: #9e4e91;
$custom-light: #bd83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4e91",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 309.75,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.13606,
    "h": 333.7
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#9E4E91
secondary
#8EBA95
accent
#CA6F5E
background
#FBF8FA
surface
#F7EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9E4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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