#9E5FEE#9E5FEE

#9E5FEE is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.3% C 0.208 H 300.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9E5FEE
RGBrgb(158, 95, 238)
HSLhsl(266, 81%, 65%)
HSVhsv(266, 60%, 93%)
CMYKcmyk(33.6%, 60.1%, 0%, 6.7%)
CIE-LABlab(53.63, 53.49, -62.85)
CIE-LCHlch(53.63, 82.53, 310.40°)
OKLaboklab(62.32% 0.1064 -0.1783)
OKLCHoklch(62.32% 0.208 300.8)
XYZxyz(33.6217, 21.6264, 83.2753)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FEE #AFEE5F
analogous
#5F67EE #9E5FEE #E65FEE
triadic
#9E5FEE #EE9E5F #5FEE9E
tetradic
#9E5FEE #EE5F67 #AFEE5F #5FEEE6
square
#9E5FEE #EE5F67 #AFEE5F #5FEEE6
split-complementary
#9E5FEE #EEE65F #67EE5F
monochromatic
#5F14BE #7C28E8 #9E5FEE #C096F4 #E1CEFA

Accessibility & contrast

On white

3.94
#9E5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9E5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FEE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FEE#FFFFFF#000000##000000
##9E5FEE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#307FEB
Tritanopia (blue-blind)
#8D7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5fee;
/* rgb */ color: rgb(158, 95, 238);
/* oklch */ color: oklch(62.3% 0.208 300.8);
Tailwind
colors: {
  custom: {
    50: '#bf8ff4',
    500: '#9e5fee',
    950: '#000000',
  },
}
SCSS
$custom: #9e5fee;
$custom-light: #bf8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5fee",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 266.434,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.20763,
    "h": 300.8
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#9E5FEE
secondary
#D7ECBC
accent
#DD087F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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