#9D59E6#9D59E6

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

Color values

HEX#9D59E6
RGBrgb(157, 89, 230)
HSLhsl(269, 74%, 63%)
HSVhsv(269, 61%, 90%)
CMYKcmyk(31.7%, 61.3%, 0%, 9.8%)
CIE-LABlab(51.87, 54.42, -61.21)
CIE-LCHlch(51.87, 81.90, 311.64°)
OKLaboklab(60.85% 0.1124 -0.1735)
OKLCHoklch(60.85% 0.207 302.9)
XYZxyz(31.7567, 20.0260, 77.0399)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59E6 #A2E659
analogous
#595CE6 #9D59E6 #E359E6
triadic
#9D59E6 #E69D59 #59E69D
tetradic
#9D59E6 #E6595C #A2E659 #59E6E3
square
#9D59E6 #E6595C #A2E659 #59E6E3
split-complementary
#9D59E6 #E6E359 #5CE659
monochromatic
#601AAB #7E24DE #9D59E6 #BC8EEE #DCC3F6

Accessibility & contrast

On white

4.20
#9D59E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9D59E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59E6#FFFFFF#000000##000000
##9D59E61.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#8F7797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d59e6;
/* rgb */ color: rgb(157, 89, 230);
/* oklch */ color: oklch(60.8% 0.207 302.9);
Tailwind
colors: {
  custom: {
    50: '#be8bef',
    500: '#9d59e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d59e6;
$custom-light: #be8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59e6",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 268.936,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.2067,
    "h": 302.9
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#9D59E6
secondary
#CEE7B4
accent
#D61076
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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