#9E4DAF#9E4DAF

#9E4DAF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.0% C 0.166 H 320.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9E4DAF
RGBrgb(158, 77, 175)
HSLhsl(290, 39%, 49%)
HSVhsv(290, 56%, 69%)
CMYKcmyk(9.7%, 56%, 0%, 31.4%)
CIE-LABlab(46.54, 48.59, -38.08)
CIE-LCHlch(46.54, 61.74, 321.91°)
OKLaboklab(55.96% 0.128 -0.1058)
OKLCHoklch(55.96% 0.166 320.4)
XYZxyz(24.4914, 15.6731, 42.2843)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DAF #5EAF4D
analogous
#6D4DAF #9E4DAF #AF4D8F
triadic
#9E4DAF #AF9E4D #4DAF9E
tetradic
#9E4DAF #AF6D4D #5EAF4D #4D8FAF
square
#9E4DAF #AF6D4D #5EAF4D #4D8FAF
split-complementary
#9E4DAF #8FAF4D #4DAF6D
monochromatic
#51285A #783A85 #9E4DAF #B676C3 #CCA1D6

Accessibility & contrast

On white

5.08
#9E4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9E4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DAF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DAF#FFFFFF#000000##FFFFFF
##9E4DAF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#9F5B77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4daf;
/* rgb */ color: rgb(158, 77, 175);
/* oklch */ color: oklch(56.0% 0.166 320.4);
Tailwind
colors: {
  custom: {
    50: '#bd83c7',
    500: '#9e4daf',
    950: '#000000',
  },
}
SCSS
$custom: #9e4daf;
$custom-light: #bd83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4daf",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 289.592,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.16602,
    "h": 320.4
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#9E4DAF
secondary
#9DC395
accent
#CF596D
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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