#9E5DEF#9E5DEF

#9E5DEF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.211 H 300.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9E5DEF
RGBrgb(158, 93, 239)
HSLhsl(267, 82%, 65%)
HSVhsv(267, 61%, 94%)
CMYKcmyk(33.9%, 61.1%, 0%, 6.3%)
CIE-LABlab(53.31, 54.76, -63.93)
CIE-LCHlch(53.31, 84.18, 310.59°)
OKLaboklab(62.1% 0.1086 -0.1815)
OKLCHoklch(62.1% 0.212 300.9)
XYZxyz(33.5912, 21.3296, 83.9919)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DEF #AEEF5D
analogous
#5D65EF #9E5DEF #E75DEF
triadic
#9E5DEF #EF9E5D #5DEF9E
tetradic
#9E5DEF #EF5D65 #AEEF5D #5DEFE7
square
#9E5DEF #EF5D65 #AEEF5D #5DEFE7
split-complementary
#9E5DEF #EFE75D #65EF5D
monochromatic
#5F13BF #7D25E9 #9E5DEF #BF95F5 #E1CCFA

Accessibility & contrast

On white

3.99
#9E5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9E5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DEF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DEF#FFFFFF#000000##000000
##9E5DEF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#2A7EEC
Tritanopia (blue-blind)
#8D7C9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5def;
/* rgb */ color: rgb(158, 93, 239);
/* oklch */ color: oklch(62.1% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ef5',
    500: '#9e5def',
    950: '#000000',
  },
}
SCSS
$custom: #9e5def;
$custom-light: #bf8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5def",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 266.712,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62104,
    "c": 0.2115,
    "h": 300.9
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#9E5DEF
secondary
#D7EDBB
accent
#DE077F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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