#9E4EED#9E4EED

#9E4EED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.229 H 303.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9E4EED
RGBrgb(158, 78, 237)
HSLhsl(270, 82%, 62%)
HSVhsv(270, 67%, 93%)
CMYKcmyk(33.3%, 67.1%, 0%, 7.1%)
CIE-LABlab(50.49, 61.63, -67.36)
CIE-LCHlch(50.49, 91.30, 312.46°)
OKLaboklab(60.03% 0.1251 -0.1915)
OKLCHoklch(60.03% 0.229 303.2)
XYZxyz(32.1075, 18.8323, 82.0478)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EED #9DED4E
analogous
#4F4EED #9E4EED #ED4EEC
triadic
#9E4EED #ED9E4E #4EED9E
tetradic
#9E4EED #ED4F4E #9DED4E #4EECED
square
#9E4EED #ED4F4E #9DED4E #4EECED
split-complementary
#9E4EED #ECED4E #4EED4F
monochromatic
#6112AF #8017E6 #9E4EED #BC86F3 #DBBDF8

Accessibility & contrast

On white

4.41
#9E4EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9E4EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4EED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EED#FFFFFF#000000##000000
##9E4EED1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#8E7297
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e4eed;
/* rgb */ color: rgb(158, 78, 237);
/* oklch */ color: oklch(60.0% 0.229 303.2);
Tailwind
colors: {
  custom: {
    50: '#c085f4',
    500: '#9e4eed',
    950: '#000000',
  },
}
SCSS
$custom: #9e4eed;
$custom-light: #c085f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4eed",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 270.189,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.22875,
    "h": 303.2
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#9E4EED
secondary
#CBE9AE
accent
#DE0872
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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