#9D59EC#9D59EC

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

Color values

HEX#9D59EC
RGBrgb(157, 89, 236)
HSLhsl(268, 79%, 64%)
HSVhsv(268, 62%, 93%)
CMYKcmyk(33.5%, 62.3%, 0%, 7.5%)
CIE-LABlab(52.25, 55.86, -63.96)
CIE-LCHlch(52.25, 84.91, 311.13°)
OKLaboklab(61.25% 0.112 -0.1816)
OKLCHoklch(61.25% 0.213 301.7)
XYZxyz(32.6137, 20.3689, 81.5540)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59EC #A8EC59
analogous
#595EEC #9D59EC #E659EC
triadic
#9D59EC #EC9D59 #59EC9D
tetradic
#9D59EC #EC595E #A8EC59 #59ECE6
square
#9D59EC #EC595E #A8EC59 #59ECE6
split-complementary
#9D59EC #ECE659 #5EEC59
monochromatic
#5F15B6 #7D22E6 #9D59EC #BD90F2 #DEC7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D59EC#FFFFFF#000000##000000
##9D59EC1.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)
#007CF1
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#8D799B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d59ec;
/* rgb */ color: rgb(157, 89, 236);
/* oklch */ color: oklch(61.3% 0.213 301.7);
Tailwind
colors: {
  custom: {
    50: '#bf8bf3',
    500: '#9d59ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d59ec;
$custom-light: #bf8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59ec",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 267.755,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.21336,
    "h": 301.7
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#9D59EC
secondary
#D2EAB6
accent
#DC0A7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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