#9E5FEF#9E5FEF

#9E5FEF is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.209 H 300.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9E5FEF
RGBrgb(158, 95, 239)
HSLhsl(266, 82%, 65%)
HSVhsv(266, 60%, 94%)
CMYKcmyk(33.9%, 60.3%, 0%, 6.3%)
CIE-LABlab(53.69, 53.74, -63.31)
CIE-LCHlch(53.69, 83.04, 310.32°)
OKLaboklab(62.38% 0.1063 -0.1797)
OKLCHoklch(62.38% 0.209 300.6)
XYZxyz(33.7690, 21.6853, 84.0512)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FEF #B0EF5F
analogous
#5F68EF #9E5FEF #E65FEF
triadic
#9E5FEF #EF9E5F #5FEF9E
tetradic
#9E5FEF #EF5F68 #B0EF5F #5FEFE6
square
#9E5FEF #EF5F68 #B0EF5F #5FEFE6
split-complementary
#9E5FEF #EFE65F #68EF5F
monochromatic
#5F13C0 #7C27E9 #9E5FEF #C097F5 #E1CEFA

Accessibility & contrast

On white

3.93
#9E5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9E5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FEF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FEF#FFFFFF#000000##000000
##9E5FEF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#2E7FEC
Tritanopia (blue-blind)
#8D7E9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5fef;
/* rgb */ color: rgb(158, 95, 239);
/* oklch */ color: oklch(62.4% 0.209 300.6);
Tailwind
colors: {
  custom: {
    50: '#bf8ff5',
    500: '#9e5fef',
    950: '#000000',
  },
}
SCSS
$custom: #9e5fef;
$custom-light: #bf8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5fef",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 266.25,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62382,
    "c": 0.20877,
    "h": 300.6
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#9E5FEF
secondary
#D8EDBD
accent
#DE0780
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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