#9B59DC#9B59DC

#9B59DC is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.195 H 304.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B59DC
RGBrgb(155, 89, 220)
HSLhsl(270, 65%, 61%)
HSVhsv(270, 60%, 86%)
CMYKcmyk(29.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(51.01, 51.60, -56.94)
CIE-LCHlch(51.01, 76.84, 312.18°)
OKLaboklab(59.98% 0.1101 -0.161)
OKLCHoklch(59.98% 0.195 304.4)
XYZxyz(30.0054, 19.2807, 69.8371)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59DC #9ADC59
analogous
#5959DC #9B59DC #DC59DB
triadic
#9B59DC #DC9B59 #59DC9B
tetradic
#9B59DC #DC5959 #9ADC59 #59DBDC
square
#9B59DC #DC5959 #9ADC59 #59DBDC
split-complementary
#9B59DC #DBDC59 #59DC59
monochromatic
#5E209A #7D2BCD #9B59DC #B98CE7 #D8BEF1

Accessibility & contrast

On white

4.32
#9B59DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9B59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59DC#FFFFFF#000000##000000
##9B59DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#8F7392
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b59dc;
/* rgb */ color: rgb(155, 89, 220);
/* oklch */ color: oklch(60.0% 0.195 304.4);
Tailwind
colors: {
  custom: {
    50: '#bc8be7',
    500: '#9b59dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b59dc;
$custom-light: #bc8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59dc",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 270.229,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59979,
    "c": 0.19508,
    "h": 304.4
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#9B59DC
secondary
#C8E1AF
accent
#CD1872
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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