#9E59EA#9E59EA

#9E59EA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.211 H 302.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9E59EA
RGBrgb(158, 89, 234)
HSLhsl(269, 78%, 63%)
HSVhsv(269, 62%, 92%)
CMYKcmyk(32.5%, 62%, 0%, 8.2%)
CIE-LABlab(52.24, 55.59, -62.85)
CIE-LCHlch(52.24, 83.91, 311.49°)
OKLaboklab(61.22% 0.1135 -0.1783)
OKLCHoklch(61.22% 0.211 302.5)
XYZxyz(32.5208, 20.3543, 80.0414)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59EA #A5EA59
analogous
#595CEA #9E59EA #E759EA
triadic
#9E59EA #EA9E59 #59EA9E
tetradic
#9E59EA #EA595C #A5EA59 #59EAE7
square
#9E59EA #EA595C #A5EA59 #59EAE7
split-complementary
#9E59EA #EAE759 #5CEA59
monochromatic
#6117B2 #7E23E3 #9E59EA #BE8FF1 #DDC6F8

Accessibility & contrast

On white

4.14
#9E59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9E59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59EA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59EA#FFFFFF#000000##000000
##9E59EA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#2B7CE7
Tritanopia (blue-blind)
#8F7899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e59ea;
/* rgb */ color: rgb(158, 89, 234);
/* oklch */ color: oklch(61.2% 0.211 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf8bf1',
    500: '#9e59ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e59ea;
$custom-light: #bf8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59ea",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 268.552,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.21133,
    "h": 302.5
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#9E59EA
secondary
#D1E9B6
accent
#DA0C78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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