#9E5ADC#9E5ADC

#9E5ADC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.4% C 0.194 H 305.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9E5ADC
RGBrgb(158, 90, 220)
HSLhsl(271, 65%, 61%)
HSVhsv(271, 59%, 86%)
CMYKcmyk(28.2%, 59.1%, 0%, 13.7%)
CIE-LABlab(51.55, 51.78, -56.06)
CIE-LCHlch(51.55, 76.31, 312.73°)
OKLaboklab(60.45% 0.1128 -0.1583)
OKLCHoklch(60.45% 0.194 305.5)
XYZxyz(30.6722, 19.7490, 69.8923)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5ADC #98DC5A
analogous
#5D5ADC #9E5ADC #DC5AD9
triadic
#9E5ADC #DC9E5A #5ADC9E
tetradic
#9E5ADC #DC5D5A #98DC5A #5AD9DC
square
#9E5ADC #DC5D5A #98DC5A #5AD9DC
split-complementary
#9E5ADC #D9DC5A #5ADC5D
monochromatic
#61219B #802CCD #9E5ADC #BC8CE7 #D9BFF1

Accessibility & contrast

On white

4.24
#9E5ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9E5ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5ADC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5ADC#FFFFFF#000000##000000
##9E5ADC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e5adc;
/* rgb */ color: rgb(158, 90, 220);
/* oklch */ color: oklch(60.4% 0.194 305.5);
Tailwind
colors: {
  custom: {
    50: '#be8ce7',
    500: '#9e5adc',
    950: '#000000',
  },
}
SCSS
$custom: #9e5adc;
$custom-light: #be8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5adc",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 271.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.19439,
    "h": 305.5
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#9E5ADC
secondary
#C8E2B0
accent
#CD196F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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