#9E59DC#9E59DC

#9E59DC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.196 H 305.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9E59DC
RGBrgb(158, 89, 220)
HSLhsl(272, 65%, 61%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(28.2%, 59.5%, 0%, 13.7%)
CIE-LABlab(51.36, 52.30, -56.36)
CIE-LCHlch(51.36, 76.89, 312.86°)
OKLaboklab(60.31% 0.114 -0.1592)
OKLCHoklch(60.31% 0.196 305.6)
XYZxyz(30.5884, 19.5814, 69.8644)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59DC #97DC59
analogous
#5C59DC #9E59DC #DC59D8
triadic
#9E59DC #DC9E59 #59DC9E
tetradic
#9E59DC #DC5C59 #97DC59 #59D8DC
square
#9E59DC #DC5C59 #97DC59 #59D8DC
split-complementary
#9E59DC #D8DC59 #59DC5C
monochromatic
#61209A #802BCD #9E59DC #BC8CE7 #D9BEF1

Accessibility & contrast

On white

4.27
#9E59DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9E59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59DC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59DC#FFFFFF#000000##000000
##9E59DC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78E0
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#937392
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e59dc;
/* rgb */ color: rgb(158, 89, 220);
/* oklch */ color: oklch(60.3% 0.196 305.6);
Tailwind
colors: {
  custom: {
    50: '#be8be7',
    500: '#9e59dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e59dc;
$custom-light: #be8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59dc",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 271.603,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60308,
    "c": 0.19582,
    "h": 305.6
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#9E59DC
secondary
#C7E1AF
accent
#CD186E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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