#9E5CF1#9E5CF1

#9E5CF1 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.215 H 300.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9E5CF1
RGBrgb(158, 92, 241)
HSLhsl(267, 84%, 65%)
HSVhsv(267, 62%, 95%)
CMYKcmyk(34.4%, 61.8%, 0%, 5.5%)
CIE-LABlab(53.25, 55.76, -65.14)
CIE-LCHlch(53.25, 85.75, 310.56°)
OKLaboklab(62.1% 0.1097 -0.185)
OKLCHoklch(62.1% 0.215 300.7)
XYZxyz(33.8011, 21.2740, 85.5276)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5CF1 #AFF15C
analogous
#5C64F1 #9E5CF1 #E85CF1
triadic
#9E5CF1 #F19E5C #5CF19E
tetradic
#9E5CF1 #F15C64 #AFF15C #5CF1E8
square
#9E5CF1 #F15C64 #AFF15C #5CF1E8
split-complementary
#9E5CF1 #F1E85C #64F15C
monochromatic
#5F11C2 #7C24EC #9E5CF1 #C094F6 #E1CDFB

Accessibility & contrast

On white

4.00
#9E5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9E5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5CF1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5CF1#FFFFFF#000000##000000
##9E5CF11.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#237EEE
Tritanopia (blue-blind)
#8C7C9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5cf1;
/* rgb */ color: rgb(158, 92, 241);
/* oklch */ color: oklch(62.1% 0.215 300.7);
Tailwind
colors: {
  custom: {
    50: '#c08df6',
    500: '#9e5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #9e5cf1;
$custom-light: #c08df6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5cf1",
  "rgb": {
    "r": 158,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 266.577,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.21508,
    "h": 300.7
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#9E5CF1
secondary
#D7EEBB
accent
#E1057F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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