#9E5AEF#9E5AEF

#9E5AEF is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.216 H 301.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E5AEF
RGBrgb(158, 90, 239)
HSLhsl(267, 82%, 65%)
HSVhsv(267, 62%, 94%)
CMYKcmyk(33.9%, 62.3%, 0%, 6.3%)
CIE-LABlab(52.74, 56.29, -64.84)
CIE-LCHlch(52.74, 85.86, 310.96°)
OKLaboklab(61.7% 0.112 -0.1841)
OKLCHoklch(61.7% 0.216 301.3)
XYZxyz(33.3330, 20.8133, 83.9059)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AEF #ABEF5A
analogous
#5A61EF #9E5AEF #E95AEF
triadic
#9E5AEF #EF9E5A #5AEF9E
tetradic
#9E5AEF #EF5A61 #ABEF5A #5AEFE9
square
#9E5AEF #EF5A61 #ABEF5A #5AEFE9
split-complementary
#9E5AEF #EFE95A #61EF5A
monochromatic
#6012BC #7D22EA #9E5AEF #BF92F4 #E0CAFA

Accessibility & contrast

On white

4.07
#9E5AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AEF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AEF#FFFFFF#000000##000000
##9E5AEF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#8D7A9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5aef;
/* rgb */ color: rgb(158, 90, 239);
/* oklch */ color: oklch(61.7% 0.216 301.3);
Tailwind
colors: {
  custom: {
    50: '#c08cf5',
    500: '#9e5aef',
    950: '#000000',
  },
}
SCSS
$custom: #9e5aef;
$custom-light: #c08cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5aef",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 267.383,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.21552,
    "h": 301.3
  },
  "luminance": 0.20813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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