#9E4DB2#9E4DB2

#9E4DB2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.1% C 0.169 H 319.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9E4DB2
RGBrgb(158, 77, 178)
HSLhsl(288, 40%, 50%)
HSVhsv(288, 57%, 70%)
CMYKcmyk(11.2%, 56.7%, 0%, 30.2%)
CIE-LABlab(46.70, 49.20, -39.59)
CIE-LCHlch(46.70, 63.15, 321.17°)
OKLaboklab(56.13% 0.1282 -0.1102)
OKLCHoklch(56.13% 0.169 319.3)
XYZxyz(24.7893, 15.7922, 43.8533)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DB2 #61B24D
analogous
#6C4DB2 #9E4DB2 #B24D93
triadic
#9E4DB2 #B29E4D #4DB29E
tetradic
#9E4DB2 #B26C4D #61B24D #4D93B2
square
#9E4DB2 #B26C4D #61B24D #4D93B2
split-complementary
#9E4DB2 #93B24D #4DB26C
monochromatic
#52285D #783B87 #9E4DB2 #B578C4 #CDA2D7

Accessibility & contrast

On white

5.05
#9E4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9E4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DB2#FFFFFF#000000##FFFFFF
##9E4DB21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#9E5C78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4db2;
/* rgb */ color: rgb(158, 77, 178);
/* oklch */ color: oklch(56.1% 0.169 319.3);
Tailwind
colors: {
  custom: {
    50: '#bd83c9',
    500: '#9e4db2',
    950: '#000000',
  },
}
SCSS
$custom: #9e4db2;
$custom-light: #bd83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4db2",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 288.119,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.16903,
    "h": 319.3
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#9E4DB2
secondary
#A0C497
accent
#CF5870
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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