#9E4EE4#9E4EE4

#9E4EE4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.219 H 305.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E4EE4
RGBrgb(158, 78, 228)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 89%)
CMYKcmyk(30.7%, 65.8%, 0%, 10.6%)
CIE-LABlab(49.88, 59.55, -63.27)
CIE-LCHlch(49.88, 86.89, 313.27°)
OKLaboklab(59.4% 0.1261 -0.1795)
OKLCHoklch(59.4% 0.219 305.1)
XYZxyz(30.8254, 18.3195, 75.2958)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EE4 #94E44E
analogous
#534EE4 #9E4EE4 #E44EDF
triadic
#9E4EE4 #E49E4E #4EE49E
tetradic
#9E4EE4 #E4534E #94E44E #4EDFE4
square
#9E4EE4 #E4534E #94E44E #4EDFE4
split-complementary
#9E4EE4 #DFE44E #4EE453
monochromatic
#60189F #8020D4 #9E4EE4 #BB83EC #D8B8F4

Accessibility & contrast

On white

4.50
#9E4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9E4EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4EE4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EE4#FFFFFF#000000##000000
##9E4EE41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#916F93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e4ee4;
/* rgb */ color: rgb(158, 78, 228);
/* oklch */ color: oklch(59.4% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#bf85ed',
    500: '#9e4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ee4;
$custom-light: #bf85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ee4",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 272,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.594,
    "c": 0.21936,
    "h": 305.1
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#9E4EE4
secondary
#C5E4AA
accent
#F0388E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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