#9B59EC#9B59EC

#9B59EC is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.213 H 300.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9B59EC
RGBrgb(155, 89, 236)
HSLhsl(267, 79%, 64%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(34.3%, 62.3%, 0%, 7.5%)
CIE-LABlab(52.03, 55.43, -64.33)
CIE-LCHlch(52.03, 84.92, 310.75°)
OKLaboklab(61.04% 0.1094 -0.1827)
OKLCHoklch(61.04% 0.213 300.9)
XYZxyz(32.2266, 20.1693, 81.5358)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59EC #AAEC59
analogous
#5960EC #9B59EC #E459EC
triadic
#9B59EC #EC9B59 #59EC9B
tetradic
#9B59EC #EC5960 #AAEC59 #59ECE4
square
#9B59EC #EC5960 #AAEC59 #59ECE4
split-complementary
#9B59EC #ECE459 #60EC59
monochromatic
#5D15B6 #7A22E6 #9B59EC #BC90F2 #DDC7F9

Accessibility & contrast

On white

4.17
#9B59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9B59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59EC#FFFFFF#000000##000000
##9B59EC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#8A799B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b59ec;
/* rgb */ color: rgb(155, 89, 236);
/* oklch */ color: oklch(61.0% 0.213 300.9);
Tailwind
colors: {
  custom: {
    50: '#bd8bf3',
    500: '#9b59ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ec;
$custom-light: #bd8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ec",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 266.939,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.213,
    "h": 300.9
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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