#9E5AE2#9E5AE2

#9E5AE2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.201 H 304.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9E5AE2
RGBrgb(158, 90, 226)
HSLhsl(270, 70%, 62%)
HSVhsv(270, 60%, 89%)
CMYKcmyk(30.1%, 60.2%, 0%, 11.4%)
CIE-LABlab(51.92, 53.19, -58.86)
CIE-LCHlch(51.92, 79.33, 312.10°)
OKLaboklab(60.83% 0.1126 -0.1666)
OKLCHoklch(60.83% 0.201 304.1)
XYZxyz(31.4811, 20.0725, 74.1526)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AE2 #9EE25A
analogous
#5A5AE2 #9E5AE2 #E25AE2
triadic
#9E5AE2 #E29E5A #5AE29E
tetradic
#9E5AE2 #E25A5A #9EE25A #5AE2E2
square
#9E5AE2 #E25A5A #9EE25A #5AE2E2
split-complementary
#9E5AE2 #E2E25A #5AE25A
monochromatic
#611DA5 #7F26D9 #9E5AE2 #BD8EEB #DBC2F4

Accessibility & contrast

On white

4.19
#9E5AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9E5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AE2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AE2#FFFFFF#000000##000000
##9E5AE21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7AE6
Deuteranopia (green-blind)
#387CDF
Tritanopia (blue-blind)
#927696
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e5ae2;
/* rgb */ color: rgb(158, 90, 226);
/* oklch */ color: oklch(60.8% 0.201 304.1);
Tailwind
colors: {
  custom: {
    50: '#bf8cec',
    500: '#9e5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ae2;
$custom-light: #bf8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ae2",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 270,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.20108,
    "h": 304.1
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#9E5AE2
secondary
#CCE5B3
accent
#D21373
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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