#9C59EC#9C59EC

#9C59EC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.213 H 301.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9C59EC
RGBrgb(156, 89, 236)
HSLhsl(267, 79%, 64%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(33.9%, 62.3%, 0%, 7.5%)
CIE-LABlab(52.14, 55.64, -64.14)
CIE-LCHlch(52.14, 84.91, 310.94°)
OKLaboklab(61.15% 0.1107 -0.1821)
OKLCHoklch(61.15% 0.213 301.3)
XYZxyz(32.4194, 20.2687, 81.5449)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C59EC #A9EC59
analogous
#595FEC #9C59EC #E559EC
triadic
#9C59EC #EC9C59 #59EC9C
tetradic
#9C59EC #EC595F #A9EC59 #59ECE5
square
#9C59EC #EC595F #A9EC59 #59ECE5
split-complementary
#9C59EC #ECE559 #5FEC59
monochromatic
#5E15B6 #7B22E6 #9C59EC #BD90F2 #DDC7F9

Accessibility & contrast

On white

4.16
#9C59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9C59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C59EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C59EC#FFFFFF#000000##000000
##9C59EC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#8B799B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c59ec;
/* rgb */ color: rgb(156, 89, 236);
/* oklch */ color: oklch(61.1% 0.213 301.3);
Tailwind
colors: {
  custom: {
    50: '#be8bf3',
    500: '#9c59ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c59ec;
$custom-light: #be8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c59ec",
  "rgb": {
    "r": 156,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 267.347,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.21317,
    "h": 301.3
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#9C59EC
secondary
#D3EAB6
accent
#DC0A7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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