#9E4ABC#9E4ABC

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

Color values

HEX#9E4ABC
RGBrgb(158, 74, 188)
HSLhsl(284, 46%, 51%)
HSVhsv(284, 61%, 74%)
CMYKcmyk(16%, 60.6%, 0%, 26.3%)
CIE-LABlab(46.71, 52.71, -45.42)
CIE-LCHlch(46.71, 69.58, 319.25°)
OKLaboklab(56.32% 0.1325 -0.1271)
OKLCHoklch(56.32% 0.184 316.2)
XYZxyz(25.6251, 15.7984, 49.2668)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4ABC #68BC4A
analogous
#654ABC #9E4ABC #BC4AA1
triadic
#9E4ABC #BC9E4A #4ABC9E
tetradic
#9E4ABC #BC654A #68BC4A #4AA1BC
square
#9E4ABC #BC654A #68BC4A #4AA1BC
split-complementary
#9E4ABC #A1BC4A #4ABC65
monochromatic
#552666 #7A3693 #9E4ABC #B677CD #CEA3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E4ABC#FFFFFF#000000##FFFFFF
##9E4ABC1.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)
#286AC0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#9C5E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4abc;
/* rgb */ color: rgb(158, 74, 188);
/* oklch */ color: oklch(56.3% 0.184 316.2);
Tailwind
colors: {
  custom: {
    50: '#be81d1',
    500: '#9e4abc',
    950: '#000000',
  },
}
SCSS
$custom: #9e4abc;
$custom-light: #be81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4abc",
  "rgb": {
    "r": 158,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 284.211,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.18364,
    "h": 316.2
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#9E4ABC
secondary
#A5CA98
accent
#D65275
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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