#9E59E9#9E59E9

#9E59E9 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.210 H 302.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9E59E9
RGBrgb(158, 89, 233)
HSLhsl(269, 77%, 63%)
HSVhsv(269, 62%, 91%)
CMYKcmyk(32.2%, 61.8%, 0%, 8.6%)
CIE-LABlab(52.17, 55.36, -62.40)
CIE-LCHlch(52.17, 83.41, 311.58°)
OKLaboklab(61.16% 0.1135 -0.177)
OKLCHoklch(61.16% 0.21 302.7)
XYZxyz(32.3775, 20.2970, 79.2870)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59E9 #A4E959
analogous
#595CE9 #9E59E9 #E659E9
triadic
#9E59E9 #E99E59 #59E99E
tetradic
#9E59E9 #E9595C #A4E959 #59E9E6
square
#9E59E9 #E9595C #A4E959 #59E9E6
split-complementary
#9E59E9 #E9E659 #5CE959
monochromatic
#6117B0 #7E23E2 #9E59E9 #BE8FF0 #DDC5F7

Accessibility & contrast

On white

4.15
#9E59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9E59E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59E9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59E9#FFFFFF#000000##000000
##9E59E91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#8F7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e59e9;
/* rgb */ color: rgb(158, 89, 233);
/* oklch */ color: oklch(61.2% 0.210 302.7);
Tailwind
colors: {
  custom: {
    50: '#bf8bf1',
    500: '#9e59e9',
    950: '#000000',
  },
}
SCSS
$custom: #9e59e9;
$custom-light: #bf8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59e9",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 268.75,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.21024,
    "h": 302.7
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#9E59E9
secondary
#D0E9B5
accent
#D90D77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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