#9B59CE#9B59CE

#9B59CE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.179 H 307.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B59CE
RGBrgb(155, 89, 206)
HSLhsl(274, 54%, 58%)
HSVhsv(274, 57%, 81%)
CMYKcmyk(24.8%, 56.8%, 0%, 19.2%)
CIE-LABlab(50.18, 48.34, -50.30)
CIE-LCHlch(50.18, 69.76, 313.86°)
OKLaboklab(59.1% 0.1101 -0.1416)
OKLCHoklch(59.1% 0.179 307.9)
XYZxyz(28.2283, 18.5699, 60.4778)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59CE #8CCE59
analogous
#6059CE #9B59CE #CE59C7
triadic
#9B59CE #CE9B59 #59CE9B
tetradic
#9B59CE #CE6059 #8CCE59 #59C7CE
square
#9B59CE #CE6059 #8CCE59 #59C7CE
split-complementary
#9B59CE #C7CE59 #59CE60
monochromatic
#5C2785 #7D35B5 #9B59CE #B788DC #D4B8EA

Accessibility & contrast

On white

4.45
#9B59CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9B59CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59CE#FFFFFF#000000##000000
##9B59CE1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#936F8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b59ce;
/* rgb */ color: rgb(155, 89, 206);
/* oklch */ color: oklch(59.1% 0.179 307.9);
Tailwind
colors: {
  custom: {
    50: '#bc8bdd',
    500: '#9b59ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ce;
$custom-light: #bc8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ce",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 273.846,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.17932,
    "h": 307.9
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#9B59CE
secondary
#BED9AA
accent
#DE4A8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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