#9E5DF1#9E5DF1

#9E5DF1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.214 H 300.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9E5DF1
RGBrgb(158, 93, 241)
HSLhsl(266, 84%, 65%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34.4%, 61.4%, 0%, 5.5%)
CIE-LABlab(53.44, 55.25, -64.84)
CIE-LCHlch(53.44, 85.19, 310.44°)
OKLaboklab(62.24% 0.1085 -0.1841)
OKLCHoklch(62.24% 0.214 300.5)
XYZxyz(33.8883, 21.4484, 85.5566)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DF1 #B0F15D
analogous
#5D66F1 #9E5DF1 #E85DF1
triadic
#9E5DF1 #F19E5D #5DF19E
tetradic
#9E5DF1 #F15D66 #B0F15D #5DF1E8
square
#9E5DF1 #F15D66 #B0F15D #5DF1E8
split-complementary
#9E5DF1 #F1E85D #66F15D
monochromatic
#5F11C3 #7C25EC #9E5DF1 #C095F6 #E1CEFB

Accessibility & contrast

On white

3.97
#9E5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9E5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DF1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DF1#FFFFFF#000000##000000
##9E5DF11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#267FEE
Tritanopia (blue-blind)
#8C7D9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5df1;
/* rgb */ color: rgb(158, 93, 241);
/* oklch */ color: oklch(62.2% 0.214 300.5);
Tailwind
colors: {
  custom: {
    50: '#c08ef6',
    500: '#9e5df1',
    950: '#000000',
  },
}
SCSS
$custom: #9e5df1;
$custom-light: #c08ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5df1",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 266.351,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.21374,
    "h": 300.5
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#9E5DF1
secondary
#D8EEBC
accent
#E10580
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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