#9E59EC#9E59EC

#9E59EC is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.214 H 302.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9E59EC
RGBrgb(158, 89, 236)
HSLhsl(268, 79%, 64%)
HSVhsv(268, 62%, 93%)
CMYKcmyk(33.1%, 62.3%, 0%, 7.5%)
CIE-LABlab(52.36, 56.07, -63.77)
CIE-LCHlch(52.36, 84.91, 311.32°)
OKLaboklab(61.36% 0.1133 -0.181)
OKLCHoklch(61.36% 0.214 302.1)
XYZxyz(32.8097, 20.4699, 81.5632)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59EC #A7EC59
analogous
#595DEC #9E59EC #E759EC
triadic
#9E59EC #EC9E59 #59EC9E
tetradic
#9E59EC #EC595D #A7EC59 #59ECE7
square
#9E59EC #EC595D #A7EC59 #59ECE7
split-complementary
#9E59EC #ECE759 #5DEC59
monochromatic
#6015B6 #7E22E6 #9E59EC #BE90F2 #DEC7F9

Accessibility & contrast

On white

4.12
#9E59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9E59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59EC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59EC#FFFFFF#000000##000000
##9E59EC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#277CE9
Tritanopia (blue-blind)
#8E799B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e59ec;
/* rgb */ color: rgb(158, 89, 236);
/* oklch */ color: oklch(61.4% 0.214 302.1);
Tailwind
colors: {
  custom: {
    50: '#bf8bf3',
    500: '#9e59ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e59ec;
$custom-light: #bf8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59ec",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 268.163,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.21354,
    "h": 302.1
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#9E59EC
secondary
#D2EAB6
accent
#DC0A79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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