#9E5EEB#9E5EEB

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

Color values

HEX#9E5EEB
RGBrgb(158, 94, 235)
HSLhsl(267, 78%, 65%)
HSVhsv(267, 60%, 92%)
CMYKcmyk(32.8%, 60%, 0%, 7.8%)
CIE-LABlab(53.25, 53.28, -61.79)
CIE-LCHlch(53.25, 81.59, 310.77°)
OKLaboklab(61.98% 0.1077 -0.1752)
OKLCHoklch(61.98% 0.206 301.6)
XYZxyz(33.0951, 21.2725, 80.9436)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EEB #ABEB5E
analogous
#5E65EB #9E5EEB #E55EEB
triadic
#9E5EEB #EB9E5E #5EEB9E
tetradic
#9E5EEB #EB5E65 #ABEB5E #5EEBE5
square
#9E5EEB #EB5E65 #ABEB5E #5EEBE5
split-complementary
#9E5EEB #EBE55E #65EB5E
monochromatic
#6017B8 #7D28E4 #9E5EEB #BF94F2 #E0CBF9

Accessibility & contrast

On white

4.00
#9E5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9E5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EEB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EEB#FFFFFF#000000##000000
##9E5EEB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#337EE8
Tritanopia (blue-blind)
#8E7C9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5eeb;
/* rgb */ color: rgb(158, 94, 235);
/* oklch */ color: oklch(62.0% 0.206 301.6);
Tailwind
colors: {
  custom: {
    50: '#bf8ef2',
    500: '#9e5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9e5eeb;
$custom-light: #bf8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5eeb",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 267.234,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.20561,
    "h": 301.6
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#9E5EEB
secondary
#D5EBBA
accent
#DA0B7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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