#9E4EC0#9E4EC0

#9E4EC0 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.182 H 314.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9E4EC0
RGBrgb(158, 78, 192)
HSLhsl(282, 48%, 53%)
HSVhsv(282, 59%, 75%)
CMYKcmyk(17.7%, 59.4%, 0%, 24.7%)
CIE-LABlab(47.66, 51.60, -46.24)
CIE-LCHlch(47.66, 69.29, 318.13°)
OKLaboklab(57.08% 0.1276 -0.1295)
OKLCHoklch(57.08% 0.182 314.6)
XYZxyz(26.3378, 16.5245, 51.6611)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EC0 #70C04E
analogous
#654EC0 #9E4EC0 #C04EA9
triadic
#9E4EC0 #C09E4E #4EC09E
tetradic
#9E4EC0 #C0654E #70C04E #4EA9C0
square
#9E4EC0 #C0654E #70C04E #4EA9C0
split-complementary
#9E4EC0 #A9C04E #4EC065
monochromatic
#58276D #7C379A #9E4EC0 #B77BD0 #CFA8E0

Accessibility & contrast

On white

4.88
#9E4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9E4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4EC0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EC0#FFFFFF#000000##FFFFFF
##9E4EC01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC4
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#9B6280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e4ec0;
/* rgb */ color: rgb(158, 78, 192);
/* oklch */ color: oklch(57.1% 0.182 314.6);
Tailwind
colors: {
  custom: {
    50: '#be84d3',
    500: '#9e4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ec0;
$custom-light: #be84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ec0",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 282.105,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.1818,
    "h": 314.6
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

primary
#9E4EC0
secondary
#ABCE9C
accent
#D75179
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9E4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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