#9E5ADD#9E5ADD

#9E5ADD is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.5% C 0.196 H 305.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E5ADD
RGBrgb(158, 90, 221)
HSLhsl(271, 66%, 61%)
HSVhsv(271, 59%, 87%)
CMYKcmyk(28.5%, 59.3%, 0%, 13.3%)
CIE-LABlab(51.61, 52.02, -56.53)
CIE-LCHlch(51.61, 76.82, 312.62°)
OKLaboklab(60.51% 0.1127 -0.1597)
OKLCHoklch(60.51% 0.196 305.2)
XYZxyz(30.8050, 19.8021, 70.5919)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5ADD #99DD5A
analogous
#5C5ADD #9E5ADD #DD5ADA
triadic
#9E5ADD #DD9E5A #5ADD9E
tetradic
#9E5ADD #DD5C5A #99DD5A #5ADADD
square
#9E5ADD #DD5C5A #99DD5A #5ADADD
split-complementary
#9E5ADD #DADD5A #5ADD5C
monochromatic
#61209C #802BCF #9E5ADD #BC8DE7 #DABFF2

Accessibility & contrast

On white

4.23
#9E5ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9E5ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5ADD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5ADD#FFFFFF#000000##000000
##9E5ADD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E1
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#937493
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e5add;
/* rgb */ color: rgb(158, 90, 221);
/* oklch */ color: oklch(60.5% 0.196 305.2);
Tailwind
colors: {
  custom: {
    50: '#be8ce8',
    500: '#9e5add',
    950: '#000000',
  },
}
SCSS
$custom: #9e5add;
$custom-light: #be8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5add",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 271.145,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.1955,
    "h": 305.2
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#9E5ADD
secondary
#C8E2B1
accent
#CE186F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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