#9F59EC#9F59EC

#9F59EC is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.214 H 302.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9F59EC
RGBrgb(159, 89, 236)
HSLhsl(269, 79%, 64%)
HSVhsv(269, 62%, 93%)
CMYKcmyk(32.6%, 62.3%, 0%, 7.5%)
CIE-LABlab(52.48, 56.29, -63.58)
CIE-LCHlch(52.48, 84.91, 311.52°)
OKLaboklab(61.47% 0.1146 -0.1804)
OKLCHoklch(61.47% 0.214 302.4)
XYZxyz(33.0073, 20.5718, 81.5724)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59EC #A6EC59
analogous
#595CEC #9F59EC #E859EC
triadic
#9F59EC #EC9F59 #59EC9F
tetradic
#9F59EC #EC595C #A6EC59 #59ECE8
square
#9F59EC #EC595C #A6EC59 #59ECE8
split-complementary
#9F59EC #ECE859 #5CEC59
monochromatic
#6115B6 #7F22E6 #9F59EC #BF90F2 #DFC7F9

Accessibility & contrast

On white

4.11
#9F59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9F59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59EC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59EC#FFFFFF#000000##000000
##9F59EC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#297DE9
Tritanopia (blue-blind)
#90799B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9f59ec;
/* rgb */ color: rgb(159, 89, 236);
/* oklch */ color: oklch(61.5% 0.214 302.4);
Tailwind
colors: {
  custom: {
    50: '#c08bf3',
    500: '#9f59ec',
    950: '#000000',
  },
}
SCSS
$custom: #9f59ec;
$custom-light: #c08bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59ec",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 268.571,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.21374,
    "h": 302.4
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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