#9E59EE#9E59EE

#9E59EE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.216 H 301.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9E59EE
RGBrgb(158, 89, 238)
HSLhsl(268, 81%, 64%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(33.6%, 62.6%, 0%, 6.7%)
CIE-LABlab(52.49, 56.55, -64.68)
CIE-LCHlch(52.49, 85.91, 311.16°)
OKLaboklab(61.49% 0.1132 -0.1837)
OKLCHoklch(61.49% 0.216 301.6)
XYZxyz(33.1019, 20.5868, 83.1021)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59EE #A9EE59
analogous
#595FEE #9E59EE #E859EE
triadic
#9E59EE #EE9E59 #59EE9E
tetradic
#9E59EE #EE595F #A9EE59 #59EEE8
square
#9E59EE #EE595F #A9EE59 #59EEE8
split-complementary
#9E59EE #EEE859 #5FEE59
monochromatic
#6013BA #7E21E8 #9E59EE #BE91F4 #DFC8F9

Accessibility & contrast

On white

4.10
#9E59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9E59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59EE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59EE#FFFFFF#000000##000000
##9E59EE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#237DEB
Tritanopia (blue-blind)
#8E799C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e59ee;
/* rgb */ color: rgb(158, 89, 238);
/* oklch */ color: oklch(61.5% 0.216 301.6);
Tailwind
colors: {
  custom: {
    50: '#c08bf4',
    500: '#9e59ee',
    950: '#000000',
  },
}
SCSS
$custom: #9e59ee;
$custom-light: #c08bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59ee",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 267.785,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.21575,
    "h": 301.6
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#9E59EE
secondary
#D3EBB7
accent
#DE087B
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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