#9E5BEE#9E5BEE

#9E5BEE is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.213 H 301.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9E5BEE
RGBrgb(158, 91, 238)
HSLhsl(267, 81%, 65%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(33.6%, 61.8%, 0%, 6.7%)
CIE-LABlab(52.87, 55.54, -64.08)
CIE-LCHlch(52.87, 84.80, 310.92°)
OKLaboklab(61.76% 0.111 -0.1819)
OKLCHoklch(61.76% 0.213 301.4)
XYZxyz(33.2706, 20.9242, 83.1583)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BEE #ABEE5B
analogous
#5B62EE #9E5BEE #E75BEE
triadic
#9E5BEE #EE9E5B #5BEE9E
tetradic
#9E5BEE #EE5B62 #ABEE5B #5BEEE7
square
#9E5BEE #EE5B62 #ABEE5B #5BEEE7
split-complementary
#9E5BEE #EEE75B #62EE5B
monochromatic
#6013BB #7D24E8 #9E5BEE #BF92F4 #E0CAF9

Accessibility & contrast

On white

4.05
#9E5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9E5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BEE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BEE#FFFFFF#000000##000000
##9E5BEE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#277DEB
Tritanopia (blue-blind)
#8D7B9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5bee;
/* rgb */ color: rgb(158, 91, 238);
/* oklch */ color: oklch(61.8% 0.213 301.4);
Tailwind
colors: {
  custom: {
    50: '#bf8df4',
    500: '#9e5bee',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bee;
$custom-light: #bf8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bee",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 267.347,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.21308,
    "h": 301.4
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#9E5BEE
secondary
#D5ECB9
accent
#DE087C
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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