#9E4FA9#9E4FA9

#9E4FA9 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.9% C 0.157 H 322.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9E4FA9
RGBrgb(158, 79, 169)
HSLhsl(293, 36%, 49%)
HSVhsv(293, 53%, 66%)
CMYKcmyk(6.5%, 53.3%, 0%, 33.7%)
CIE-LABlab(46.61, 46.39, -34.44)
CIE-LCHlch(46.61, 57.78, 323.41°)
OKLaboklab(55.92% 0.1246 -0.0953)
OKLCHoklch(55.92% 0.157 322.6)
XYZxyz(24.0572, 15.7268, 39.2968)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FA9 #5AA94F
analogous
#714FA9 #9E4FA9 #A94F87
triadic
#9E4FA9 #A99E4F #4FA99E
tetradic
#9E4FA9 #A9714F #5AA94F #4F87A9
square
#9E4FA9 #A9714F #5AA94F #4F87A9
split-complementary
#9E4FA9 #87A94F #4FA971
monochromatic
#502856 #773C7F #9E4FA9 #B676BF #CCA0D3

Accessibility & contrast

On white

5.07
#9E4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9E4FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FA9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FA9#FFFFFF#000000##FFFFFF
##9E4FA91.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AC
Deuteranopia (green-blind)
#5A72A6
Tritanopia (blue-blind)
#A05B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4fa9;
/* rgb */ color: rgb(158, 79, 169);
/* oklch */ color: oklch(55.9% 0.157 322.6);
Tailwind
colors: {
  custom: {
    50: '#bd84c3',
    500: '#9e4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fa9;
$custom-light: #bd84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fa9",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 292.667,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.15684,
    "h": 322.6
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#9E4FA9
secondary
#9AC094
accent
#CC5C69
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9E4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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