#9E5EEF#9E5EEF

#9E5EEF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.2% C 0.210 H 300.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E5EEF
RGBrgb(158, 94, 239)
HSLhsl(266, 82%, 65%)
HSVhsv(266, 61%, 94%)
CMYKcmyk(33.9%, 60.7%, 0%, 6.3%)
CIE-LABlab(53.50, 54.25, -63.62)
CIE-LCHlch(53.50, 83.61, 310.46°)
OKLaboklab(62.24% 0.1075 -0.1806)
OKLCHoklch(62.24% 0.21 300.8)
XYZxyz(33.6795, 21.5063, 84.0214)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EEF #AFEF5E
analogous
#5E66EF #9E5EEF #E75EEF
triadic
#9E5EEF #EF9E5E #5EEF9E
tetradic
#9E5EEF #EF5E66 #AFEF5E #5EEFE7
square
#9E5EEF #EF5E66 #AFEF5E #5EEFE7
split-complementary
#9E5EEF #EFE75E #66EF5E
monochromatic
#5F13C0 #7C26E9 #9E5EEF #C096F5 #E1CDFA

Accessibility & contrast

On white

3.96
#9E5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9E5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EEF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EEF#FFFFFF#000000##000000
##9E5EEF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#2C7FEC
Tritanopia (blue-blind)
#8D7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5eef;
/* rgb */ color: rgb(158, 94, 239);
/* oklch */ color: oklch(62.2% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#bf8ff5',
    500: '#9e5eef',
    950: '#000000',
  },
}
SCSS
$custom: #9e5eef;
$custom-light: #bf8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5eef",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 266.483,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.21013,
    "h": 300.8
  },
  "luminance": 0.21507
}

Semantic roles & 50–950 ramp

primary
#9E5EEF
secondary
#D7EDBC
accent
#DE077F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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