#9B59BB#9B59BB

#9B59BB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.0% C 0.158 H 313.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B59BB
RGBrgb(155, 89, 187)
HSLhsl(280, 42%, 54%)
HSVhsv(280, 52%, 73%)
CMYKcmyk(17.1%, 52.4%, 0%, 26.7%)
CIE-LABlab(49.13, 44.07, -41.02)
CIE-LCHlch(49.13, 60.21, 317.06°)
OKLaboklab(57.99% 0.1089 -0.1145)
OKLCHoklch(57.99% 0.158 313.6)
XYZxyz(26.0581, 17.7018, 49.0482)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59BB #79BB59
analogous
#6A59BB #9B59BB #BB59AA
triadic
#9B59BB #BB9B59 #59BB9B
tetradic
#9B59BB #BB6A59 #79BB59 #59AABB
square
#9B59BB #BB6A59 #79BB59 #59AABB
split-complementary
#9B59BB #AABB59 #59BB6A
monochromatic
#582D6D #7B3E98 #9B59BB #B584CD #CFB0DF

Accessibility & contrast

On white

4.63
#9B59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9B59BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59BB#FFFFFF#000000##FFFFFF
##9B59BB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#986982
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b59bb;
/* rgb */ color: rgb(155, 89, 187);
/* oklch */ color: oklch(58.0% 0.158 313.6);
Tailwind
colors: {
  custom: {
    50: '#bb8ad0',
    500: '#9b59bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b59bb;
$custom-light: #bb8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59bb",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 280.408,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.15802,
    "h": 313.6
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#9B59BB
secondary
#B1CDA3
accent
#D2567E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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