#9B59CC#9B59CC

#9B59CC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.177 H 308.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B59CC
RGBrgb(155, 89, 204)
HSLhsl(274, 53%, 57%)
HSVhsv(274, 56%, 80%)
CMYKcmyk(24%, 56.4%, 0%, 20%)
CIE-LABlab(50.07, 47.88, -49.34)
CIE-LCHlch(50.07, 68.75, 314.14°)
OKLaboklab(58.98% 0.11 -0.1387)
OKLCHoklch(58.98% 0.177 308.4)
XYZxyz(27.9869, 18.4734, 59.2064)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59CC #8ACC59
analogous
#6259CC #9B59CC #CC59C3
triadic
#9B59CC #CC9B59 #59CC9B
tetradic
#9B59CC #CC6259 #8ACC59 #59C3CC
square
#9B59CC #CC6259 #8ACC59 #59C3CC
split-complementary
#9B59CC #C3CC59 #59CC62
monochromatic
#5C2883 #7D36B1 #9B59CC #B788DA #D3B7E9

Accessibility & contrast

On white

4.47
#9B59CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9B59CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59CC#FFFFFF#000000##000000
##9B59CC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#946E8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b59cc;
/* rgb */ color: rgb(155, 89, 204);
/* oklch */ color: oklch(59.0% 0.177 308.4);
Tailwind
colors: {
  custom: {
    50: '#bb8bdc',
    500: '#9b59cc',
    950: '#000000',
  },
}
SCSS
$custom: #9b59cc;
$custom-light: #bb8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59cc",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 274.435,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5898,
    "c": 0.17707,
    "h": 308.4
  },
  "luminance": 0.18473
}

Semantic roles & 50–950 ramp

primary
#9B59CC
secondary
#BDD8A9
accent
#DC4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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