#9E5AF4#9E5AF4

#9E5AF4 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.221 H 300.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E5AF4
RGBrgb(158, 90, 244)
HSLhsl(266, 88%, 65%)
HSVhsv(266, 63%, 96%)
CMYKcmyk(35.2%, 63.1%, 0%, 4.3%)
CIE-LABlab(53.07, 57.49, -67.10)
CIE-LCHlch(53.07, 88.36, 310.59°)
OKLaboklab(62.04% 0.1117 -0.1908)
OKLCHoklch(62.04% 0.221 300.3)
XYZxyz(34.0819, 21.1128, 87.8500)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AF4 #B0F45A
analogous
#5A63F4 #9E5AF4 #EB5AF4
triadic
#9E5AF4 #F49E5A #5AF49E
tetradic
#9E5AF4 #F45A63 #B0F45A #5AF4EB
square
#9E5AF4 #F45A63 #B0F45A #5AF4EB
split-complementary
#9E5AF4 #F4EB5A #63F45A
monochromatic
#5F0DC6 #7C21F0 #9E5AF4 #C093F8 #E1CDFC

Accessibility & contrast

On white

4.02
#9E5AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9E5AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AF4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AF4#FFFFFF#000000##000000
##9E5AF41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#157EF1
Tritanopia (blue-blind)
#8B7C9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5af4;
/* rgb */ color: rgb(158, 90, 244);
/* oklch */ color: oklch(62.0% 0.221 300.3);
Tailwind
colors: {
  custom: {
    50: '#c08cf9',
    500: '#9e5af4',
    950: '#000000',
  },
}
SCSS
$custom: #9e5af4;
$custom-light: #c08cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5af4",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 266.494,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.22105,
    "h": 300.3
  },
  "luminance": 0.21113
}

Semantic roles & 50–950 ramp

primary
#9E5AF4
secondary
#D8EFBB
accent
#E40180
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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