#9E5DFD#9E5DFD

#9E5DFD is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.1% C 0.227 H 298.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9E5DFD
RGBrgb(158, 93, 253)
HSLhsl(264, 98%, 68%)
HSVhsv(264, 63%, 99%)
CMYKcmyk(37.5%, 63.2%, 0%, 0.8%)
CIE-LABlab(54.23, 58.19, -70.24)
CIE-LCHlch(54.23, 91.21, 309.64°)
OKLaboklab(63.06% 0.1077 -0.2)
OKLCHoklch(63.06% 0.227 298.3)
XYZxyz(35.7401, 22.1892, 95.3094)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DFD #BCFD5D
analogous
#5D6CFD #9E5DFD #EE5DFD
triadic
#9E5DFD #FD9E5D #5DFD9E
tetradic
#9E5DFD #FD5D6C #BCFD5D #5DFDEE
square
#9E5DFD #FD5D6C #BCFD5D #5DFDEE
split-complementary
#9E5DFD #FDEE5D #6CFD5D
monochromatic
#5B03DD #7A21FC #9E5DFD #C299FE #E6D6FE

Accessibility & contrast

On white

3.86
#9E5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9E5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DFD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DFD#FFFFFF#000000##000000
##9E5DFD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#8881A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e5dfd;
/* rgb */ color: rgb(158, 93, 253);
/* oklch */ color: oklch(63.1% 0.227 298.3);
Tailwind
colors: {
  custom: {
    50: '#c18eff',
    500: '#9e5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9e5dfd;
$custom-light: #c18eff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5dfd",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 264.375,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63061,
    "c": 0.22715,
    "h": 298.3
  },
  "luminance": 0.2219
}

Semantic roles & 50–950 ramp

primary
#9E5DFD
secondary
#E0F4C2
accent
#E60088
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D18
muted
#827D86

Preview Lab

Preview with #9E5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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