#9E5DF7#9E5DF7

#9E5DF7 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.220 H 299.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9E5DF7
RGBrgb(158, 93, 247)
HSLhsl(265, 91%, 67%)
HSVhsv(265, 62%, 97%)
CMYKcmyk(36%, 62.3%, 0%, 3.1%)
CIE-LABlab(53.83, 56.71, -67.55)
CIE-LCHlch(53.83, 88.20, 310.02°)
OKLaboklab(62.65% 0.1081 -0.1921)
OKLCHoklch(62.65% 0.22 299.4)
XYZxyz(34.7993, 21.8128, 90.3546)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DF7 #B6F75D
analogous
#5D69F7 #9E5DF7 #EB5DF7
triadic
#9E5DF7 #F79E5D #5DF79E
tetradic
#9E5DF7 #F75D69 #B6F75D #5DF7EB
square
#9E5DF7 #F75D69 #B6F75D #5DF7EB
split-complementary
#9E5DF7 #F7EB5D #69F75D
monochromatic
#5D0ACF #7B23F4 #9E5DF7 #C197FA #E4D2FD

Accessibility & contrast

On white

3.92
#9E5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9E5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DF7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DF7#FFFFFF#000000##000000
##9E5DF71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#167FF4
Tritanopia (blue-blind)
#8A7FA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e5df7;
/* rgb */ color: rgb(158, 93, 247);
/* oklch */ color: oklch(62.6% 0.220 299.4);
Tailwind
colors: {
  custom: {
    50: '#c08efb',
    500: '#9e5df7',
    950: '#000000',
  },
}
SCSS
$custom: #9e5df7;
$custom-light: #c08efb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5df7",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 265.325,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62646,
    "c": 0.22046,
    "h": 299.4
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#9E5DF7
secondary
#DCF1BF
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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