#9D59E5#9D59E5

#9D59E5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.206 H 303.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9D59E5
RGBrgb(157, 89, 229)
HSLhsl(269, 73%, 62%)
HSVhsv(269, 61%, 90%)
CMYKcmyk(31.4%, 61.1%, 0%, 10.2%)
CIE-LABlab(51.80, 54.19, -60.74)
CIE-LCHlch(51.80, 81.40, 311.73°)
OKLaboklab(60.78% 0.1124 -0.1721)
OKLCHoklch(60.78% 0.206 303.1)
XYZxyz(31.6166, 19.9700, 76.3025)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59E5 #A1E559
analogous
#595BE5 #9D59E5 #E359E5
triadic
#9D59E5 #E59D59 #59E59D
tetradic
#9D59E5 #E5595B #A1E559 #59E5E3
square
#9D59E5 #E5595B #A1E559 #59E5E3
split-complementary
#9D59E5 #E5E359 #5BE559
monochromatic
#601AA9 #7E24DD #9D59E5 #BC8EED #DBC3F6

Accessibility & contrast

On white

4.21
#9D59E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9D59E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59E5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59E5#FFFFFF#000000##000000
##9D59E51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#8F7697
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d59e5;
/* rgb */ color: rgb(157, 89, 229);
/* oklch */ color: oklch(60.8% 0.206 303.1);
Tailwind
colors: {
  custom: {
    50: '#be8bee',
    500: '#9d59e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d59e5;
$custom-light: #be8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59e5",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 269.143,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60783,
    "c": 0.20559,
    "h": 303.1
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#9D59E5
secondary
#CEE6B3
accent
#D51076
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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