#9B59BD#9B59BD

#9B59BD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.160 H 312.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B59BD
RGBrgb(155, 89, 189)
HSLhsl(280, 43%, 55%)
HSVhsv(280, 53%, 74%)
CMYKcmyk(18%, 52.9%, 0%, 25.9%)
CIE-LABlab(49.24, 44.51, -42.01)
CIE-LCHlch(49.24, 61.20, 316.66°)
OKLaboklab(58.1% 0.1091 -0.1173)
OKLCHoklch(58.1% 0.16 312.9)
XYZxyz(26.2737, 17.7881, 50.1836)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59BD #7BBD59
analogous
#6959BD #9B59BD #BD59AD
triadic
#9B59BD #BD9B59 #59BD9B
tetradic
#9B59BD #BD6959 #7BBD59 #59ADBD
square
#9B59BD #BD6959 #7BBD59 #59ADBD
split-complementary
#9B59BD #ADBD59 #59BD69
monochromatic
#592C6F #7B3E9B #9B59BD #B585CE #D0B1E0

Accessibility & contrast

On white

4.61
#9B59BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9B59BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59BD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59BD#FFFFFF#000000##FFFFFF
##9B59BD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071C0
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#986983
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b59bd;
/* rgb */ color: rgb(155, 89, 189);
/* oklch */ color: oklch(58.1% 0.160 312.9);
Tailwind
colors: {
  custom: {
    50: '#bb8ad1',
    500: '#9b59bd',
    950: '#000000',
  },
}
SCSS
$custom: #9b59bd;
$custom-light: #bb8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59bd",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 279.6,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.16024,
    "h": 312.9
  },
  "luminance": 0.17787
}

Semantic roles & 50–950 ramp

primary
#9B59BD
secondary
#B2CEA4
accent
#D35580
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B59BD

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

Preview Lab → · Contrast checker → · Palette generator →

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