#9E5AE8#9E5AE8

#9E5AE8 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.208 H 302.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9E5AE8
RGBrgb(158, 90, 232)
HSLhsl(269, 76%, 63%)
HSVhsv(269, 61%, 91%)
CMYKcmyk(31.9%, 61.2%, 0%, 9%)
CIE-LABlab(52.30, 54.61, -61.63)
CIE-LCHlch(52.30, 82.35, 311.54°)
OKLaboklab(61.23% 0.1124 -0.1747)
OKLCHoklch(61.23% 0.208 302.8)
XYZxyz(32.3188, 20.4076, 78.5647)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AE8 #A4E85A
analogous
#5A5DE8 #9E5AE8 #E55AE8
triadic
#9E5AE8 #E89E5A #5AE89E
tetradic
#9E5AE8 #E85A5D #A4E85A #5AE8E5
square
#9E5AE8 #E85A5D #A4E85A #5AE8E5
split-complementary
#9E5AE8 #E8E55A #5DE85A
monochromatic
#6118AF #7E24E1 #9E5AE8 #BE90EF #DDC5F7

Accessibility & contrast

On white

4.13
#9E5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9E5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AE8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AE8#FFFFFF#000000##000000
##9E5AE81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#307CE5
Tritanopia (blue-blind)
#907899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5ae8;
/* rgb */ color: rgb(158, 90, 232);
/* oklch */ color: oklch(61.2% 0.208 302.8);
Tailwind
colors: {
  custom: {
    50: '#bf8cf0',
    500: '#9e5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ae8;
$custom-light: #bf8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ae8",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 268.732,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.20776,
    "h": 302.8
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#9E5AE8
secondary
#D0E8B5
accent
#D80E77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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