#9E5FF4#9E5FF4

#9E5FF4 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.214 H 299.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9E5FF4
RGBrgb(158, 95, 244)
HSLhsl(265, 87%, 66%)
HSVhsv(265, 61%, 96%)
CMYKcmyk(35.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(54.01, 54.96, -65.58)
CIE-LCHlch(54.01, 85.57, 309.96°)
OKLaboklab(62.72% 0.1061 -0.1863)
OKLCHoklch(62.72% 0.214 299.7)
XYZxyz(34.5179, 21.9849, 87.9954)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FF4 #B5F45F
analogous
#5F6BF4 #9E5FF4 #E95FF4
triadic
#9E5FF4 #F49E5F #5FF49E
tetradic
#9E5FF4 #F45F6B #B5F45F #5FF4E9
square
#9E5FF4 #F45F6B #B5F45F #5FF4E9
split-complementary
#9E5FF4 #F4E95F #6BF45F
monochromatic
#5E0ECB #7B26F0 #9E5FF4 #C198F8 #E3D2FC

Accessibility & contrast

On white

3.89
#9E5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9E5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FF4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FF4#FFFFFF#000000##000000
##9E5FF41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#2480F1
Tritanopia (blue-blind)
#8B7FA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e5ff4;
/* rgb */ color: rgb(158, 95, 244);
/* oklch */ color: oklch(62.7% 0.214 299.7);
Tailwind
colors: {
  custom: {
    50: '#c08ff9',
    500: '#9e5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ff4;
$custom-light: #c08ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ff4",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 265.369,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62716,
    "c": 0.21443,
    "h": 299.7
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#9E5FF4
secondary
#DBF0BF
accent
#E40284
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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