#9E5DEB#9E5DEB

#9E5DEB is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.207 H 301.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9E5DEB
RGBrgb(158, 93, 235)
HSLhsl(267, 78%, 64%)
HSVhsv(267, 60%, 92%)
CMYKcmyk(32.8%, 60.4%, 0%, 7.8%)
CIE-LABlab(53.05, 53.80, -62.10)
CIE-LCHlch(53.05, 82.16, 310.90°)
OKLaboklab(61.84% 0.1088 -0.1761)
OKLCHoklch(61.84% 0.207 301.7)
XYZxyz(33.0068, 21.0959, 80.9142)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DEB #AAEB5D
analogous
#5D63EB #9E5DEB #E55DEB
triadic
#9E5DEB #EB9E5D #5DEB9E
tetradic
#9E5DEB #EB5D63 #AAEB5D #5DEBE5
square
#9E5DEB #EB5D63 #AAEB5D #5DEBE5
split-complementary
#9E5DEB #EBE55D #63EB5D
monochromatic
#6017B7 #7D27E4 #9E5DEB #BF93F2 #DFCAF8

Accessibility & contrast

On white

4.02
#9E5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9E5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DEB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DEB#FFFFFF#000000##000000
##9E5DEB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#8E7B9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5deb;
/* rgb */ color: rgb(158, 93, 235);
/* oklch */ color: oklch(61.8% 0.207 301.7);
Tailwind
colors: {
  custom: {
    50: '#bf8ef2',
    500: '#9e5deb',
    950: '#000000',
  },
}
SCSS
$custom: #9e5deb;
$custom-light: #bf8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5deb",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 267.465,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.207,
    "h": 301.7
  },
  "luminance": 0.21096
}

Semantic roles & 50–950 ramp

primary
#9E5DEB
secondary
#D4EBB9
accent
#DA0B7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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