#9E5CF5#9E5CF5

#9E5CF5 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.220 H 299.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E5CF5
RGBrgb(158, 92, 245)
HSLhsl(266, 88%, 66%)
HSVhsv(266, 62%, 96%)
CMYKcmyk(35.5%, 62.4%, 0%, 3.9%)
CIE-LABlab(53.51, 56.73, -66.95)
CIE-LCHlch(53.51, 87.75, 310.28°)
OKLaboklab(62.37% 0.1094 -0.1903)
OKLCHoklch(62.37% 0.22 299.9)
XYZxyz(34.4051, 21.5157, 88.7088)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CF5 #B3F55C
analogous
#5C66F5 #9E5CF5 #EA5CF5
triadic
#9E5CF5 #F59E5C #5CF59E
tetradic
#9E5CF5 #F55C66 #B3F55C #5CF5EA
square
#9E5CF5 #F55C66 #B3F55C #5CF5EA
split-complementary
#9E5CF5 #F5EA5C #66F55C
monochromatic
#5E0CCA #7C22F1 #9E5CF5 #C096F9 #E3CFFC

Accessibility & contrast

On white

3.96
#9E5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9E5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CF5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CF5#FFFFFF#000000##000000
##9E5CF51.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#197FF2
Tritanopia (blue-blind)
#8B7EA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5cf5;
/* rgb */ color: rgb(158, 92, 245);
/* oklch */ color: oklch(62.4% 0.220 299.9);
Tailwind
colors: {
  custom: {
    50: '#c08df9',
    500: '#9e5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9e5cf5;
$custom-light: #c08df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5cf5",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 265.882,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62373,
    "c": 0.21954,
    "h": 299.9
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#9E5CF5
secondary
#DAF0BD
accent
#E50082
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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