#9E4EAF#9E4EAF

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

Color values

HEX#9E4EAF
RGBrgb(158, 78, 175)
HSLhsl(289, 38%, 50%)
HSVhsv(289, 55%, 69%)
CMYKcmyk(9.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(46.73, 48.09, -37.79)
CIE-LCHlch(46.73, 61.16, 321.84°)
OKLaboklab(56.1% 0.1266 -0.1049)
OKLCHoklch(56.1% 0.164 320.3)
XYZxyz(24.5619, 15.8141, 42.3078)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EAF #5FAF4E
analogous
#6E4EAF #9E4EAF #AF4E8F
triadic
#9E4EAF #AF9E4E #4EAF9E
tetradic
#9E4EAF #AF6E4E #5FAF4E #4E8FAF
square
#9E4EAF #AF6E4E #5FAF4E #4E8FAF
split-complementary
#9E4EAF #8FAF4E #4EAF6E
monochromatic
#52285A #783B85 #9E4EAF #B578C3 #CCA2D6

Accessibility & contrast

On white

5.04
#9E4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E4EAF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EAF#FFFFFF#000000##FFFFFF
##9E4EAF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#5672AC
Tritanopia (blue-blind)
#9F5C77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4eaf;
/* rgb */ color: rgb(158, 78, 175);
/* oklch */ color: oklch(56.1% 0.164 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd83c7',
    500: '#9e4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eaf;
$custom-light: #bd83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eaf",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 289.485,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.16444,
    "h": 320.3
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#9E4EAF
secondary
#9EC396
accent
#CE5A6E
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9E4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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