#9E4ABA#9E4ABA

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

Color values

HEX#9E4ABA
RGBrgb(158, 74, 186)
HSLhsl(285, 45%, 51%)
HSVhsv(285, 60%, 73%)
CMYKcmyk(15.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(46.60, 52.30, -44.44)
CIE-LCHlch(46.60, 68.63, 319.64°)
OKLaboklab(56.2% 0.1325 -0.1243)
OKLCHoklch(56.2% 0.182 316.8)
XYZxyz(25.4110, 15.7128, 48.1392)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4ABA #66BA4A
analogous
#664ABA #9E4ABA #BA4A9E
triadic
#9E4ABA #BA9E4A #4ABA9E
tetradic
#9E4ABA #BA664A #66BA4A #4A9EBA
square
#9E4ABA #BA664A #66BA4A #4A9EBA
split-complementary
#9E4ABA #9EBA4A #4ABA66
monochromatic
#542664 #7A3790 #9E4ABA #B676CB #CDA3DC

Accessibility & contrast

On white

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

On black

4.14
#9E4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E4ABA#FFFFFF#000000##FFFFFF
##9E4ABA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#9D5D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9e4aba;
/* rgb */ color: rgb(158, 74, 186);
/* oklch */ color: oklch(56.2% 0.182 316.8);
Tailwind
colors: {
  custom: {
    50: '#bd81cf',
    500: '#9e4aba',
    950: '#000000',
  },
}
SCSS
$custom: #9e4aba;
$custom-light: #bd81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4aba",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.18164,
    "h": 316.8
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#9E4ABA
secondary
#A3C997
accent
#D55374
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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