#9E5DEE#9E5DEE

#9E5DEE is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.210 H 301.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9E5DEE
RGBrgb(158, 93, 238)
HSLhsl(267, 81%, 65%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.6%, 60.9%, 0%, 6.7%)
CIE-LABlab(53.24, 54.52, -63.47)
CIE-LCHlch(53.24, 83.67, 310.66°)
OKLaboklab(62.04% 0.1087 -0.1801)
OKLCHoklch(62.04% 0.21 301.1)
XYZxyz(33.4438, 21.2707, 83.2160)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DEE #ADEE5D
analogous
#5D64EE #9E5DEE #E75DEE
triadic
#9E5DEE #EE9E5D #5DEE9E
tetradic
#9E5DEE #EE5D64 #ADEE5D #5DEEE7
square
#9E5DEE #EE5D64 #ADEE5D #5DEEE7
split-complementary
#9E5DEE #EEE75D #64EE5D
monochromatic
#6014BD #7D26E8 #9E5DEE #BF94F4 #E0CCFA

Accessibility & contrast

On white

4.00
#9E5DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9E5DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DEE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DEE#FFFFFF#000000##000000
##9E5DEE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#2C7EEB
Tritanopia (blue-blind)
#8D7C9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5dee;
/* rgb */ color: rgb(158, 93, 238);
/* oklch */ color: oklch(62.0% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#bf8ef4',
    500: '#9e5dee',
    950: '#000000',
  },
}
SCSS
$custom: #9e5dee;
$custom-light: #bf8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5dee",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 266.897,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.21037,
    "h": 301.1
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#9E5DEE
secondary
#D6ECBB
accent
#DD087E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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