#9E5AE9#9E5AE9

#9E5AE9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.209 H 302.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9E5AE9
RGBrgb(158, 90, 233)
HSLhsl(269, 76%, 63%)
HSVhsv(269, 61%, 91%)
CMYKcmyk(32.2%, 61.4%, 0%, 8.6%)
CIE-LABlab(52.36, 54.85, -62.09)
CIE-LCHlch(52.36, 82.85, 311.46°)
OKLaboklab(61.29% 0.1124 -0.1761)
OKLCHoklch(61.29% 0.209 302.5)
XYZxyz(32.4613, 20.4646, 79.3149)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AE9 #A5E95A
analogous
#5A5DE9 #9E5AE9 #E55AE9
triadic
#9E5AE9 #E99E5A #5AE99E
tetradic
#9E5AE9 #E95A5D #A5E95A #5AE9E5
square
#9E5AE9 #E95A5D #A5E95A #5AE9E5
split-complementary
#9E5AE9 #E9E55A #5DE95A
monochromatic
#6118B1 #7E24E2 #9E5AE9 #BE90F0 #DDC6F7

Accessibility & contrast

On white

4.12
#9E5AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9E5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AE9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AE9#FFFFFF#000000##000000
##9E5AE91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#8F7899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5ae9;
/* rgb */ color: rgb(158, 90, 233);
/* oklch */ color: oklch(61.3% 0.209 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf8cf1',
    500: '#9e5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ae9;
$custom-light: #bf8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ae9",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 268.531,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.20887,
    "h": 302.5
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#9E5AE9
secondary
#D1E9B6
accent
#D90D78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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