#9B59C8#9B59C8

#9B59C8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.173 H 309.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9B59C8
RGBrgb(155, 89, 200)
HSLhsl(276, 50%, 57%)
HSVhsv(276, 56%, 78%)
CMYKcmyk(22.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(49.84, 46.97, -47.40)
CIE-LCHlch(49.84, 66.73, 314.74°)
OKLaboklab(58.74% 0.1099 -0.1331)
OKLCHoklch(58.74% 0.173 309.5)
XYZxyz(27.5133, 18.2839, 56.7121)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59C8 #86C859
analogous
#6459C8 #9B59C8 #C859BD
triadic
#9B59C8 #C89B59 #59C89B
tetradic
#9B59C8 #C86459 #86C859 #59BDC8
square
#9B59C8 #C86459 #86C859 #59BDC8
split-complementary
#9B59C8 #BDC859 #59C864
monochromatic
#5B297D #7D39AB #9B59C8 #B787D7 #D2B5E6

Accessibility & contrast

On white

4.51
#9B59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9B59C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59C8#FFFFFF#000000##000000
##9B59C81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4D78C5
Tritanopia (blue-blind)
#956D88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b59c8;
/* rgb */ color: rgb(155, 89, 200);
/* oklch */ color: oklch(58.7% 0.173 309.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ad9',
    500: '#9b59c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b59c8;
$custom-light: #bb8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59c8",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 275.676,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.17258,
    "h": 309.5
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#9B59C8
secondary
#BAD5A8
accent
#DA4E87
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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