#9E5FE9#9E5FE9

#9E5FE9 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.202 H 301.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9E5FE9
RGBrgb(158, 95, 233)
HSLhsl(267, 76%, 64%)
HSVhsv(267, 59%, 91%)
CMYKcmyk(32.2%, 59.2%, 0%, 8.6%)
CIE-LABlab(53.32, 52.28, -60.55)
CIE-LCHlch(53.32, 80.00, 310.81°)
OKLaboklab(61.99% 0.1065 -0.1716)
OKLCHoklch(61.99% 0.202 301.8)
XYZxyz(32.8973, 21.3366, 79.4602)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FE9 #AAE95F
analogous
#5F65E9 #9E5FE9 #E35FE9
triadic
#9E5FE9 #E99E5F #5FE99E
tetradic
#9E5FE9 #E95F65 #AAE95F #5FE9E3
square
#9E5FE9 #E95F65 #AAE95F #5FE9E3
split-complementary
#9E5FE9 #E9E35F #65E95F
monochromatic
#6019B5 #7D29E2 #9E5FE9 #BF95F0 #DFCBF8

Accessibility & contrast

On white

3.99
#9E5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9E5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FE9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FE9#FFFFFF#000000##000000
##9E5FE91.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117EED
Deuteranopia (green-blind)
#377FE6
Tritanopia (blue-blind)
#8F7C9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5fe9;
/* rgb */ color: rgb(158, 95, 233);
/* oklch */ color: oklch(62.0% 0.202 301.8);
Tailwind
colors: {
  custom: {
    50: '#bf8ff1',
    500: '#9e5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #9e5fe9;
$custom-light: #bf8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5fe9",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 267.391,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.20194,
    "h": 301.8
  },
  "luminance": 0.21337
}

Semantic roles & 50–950 ramp

primary
#9E5FE9
secondary
#D4EABA
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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