#9E5DF3#9E5DF3

#9E5DF3 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.216 H 300.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9E5DF3
RGBrgb(158, 93, 243)
HSLhsl(266, 86%, 66%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(35%, 61.7%, 0%, 4.7%)
CIE-LABlab(53.57, 55.74, -65.74)
CIE-LCHlch(53.57, 86.19, 310.29°)
OKLaboklab(62.37% 0.1084 -0.1868)
OKLCHoklch(62.37% 0.216 300.1)
XYZxyz(34.1886, 21.5686, 87.1386)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DF3 #B2F35D
analogous
#5D67F3 #9E5DF3 #E95DF3
triadic
#9E5DF3 #F39E5D #5DF39E
tetradic
#9E5DF3 #F35D67 #B2F35D #5DF3E9
square
#9E5DF3 #F35D67 #B2F35D #5DF3E9
split-complementary
#9E5DF3 #F3E95D #67F35D
monochromatic
#5F0FC7 #7C24EF #9E5DF3 #C096F7 #E2CFFB

Accessibility & contrast

On white

3.95
#9E5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9E5DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DF3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DF3#FFFFFF#000000##000000
##9E5DF31.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#217FF0
Tritanopia (blue-blind)
#8C7EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5df3;
/* rgb */ color: rgb(158, 93, 243);
/* oklch */ color: oklch(62.4% 0.216 300.1);
Tailwind
colors: {
  custom: {
    50: '#c08ef8',
    500: '#9e5df3',
    950: '#000000',
  },
}
SCSS
$custom: #9e5df3;
$custom-light: #c08ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5df3",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 266,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62373,
    "c": 0.21599,
    "h": 300.1
  },
  "luminance": 0.21569
}

Semantic roles & 50–950 ramp

primary
#9E5DF3
secondary
#D9EFBD
accent
#E30382
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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