#9B59BF#9B59BF

#9B59BF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.162 H 312.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9B59BF
RGBrgb(155, 89, 191)
HSLhsl(279, 44%, 55%)
HSVhsv(279, 53%, 75%)
CMYKcmyk(18.8%, 53.4%, 0%, 25.1%)
CIE-LABlab(49.34, 44.95, -43.00)
CIE-LCHlch(49.34, 62.21, 316.27°)
OKLaboklab(58.22% 0.1093 -0.1202)
OKLCHoklch(58.22% 0.162 312.3)
XYZxyz(26.4923, 17.8755, 51.3349)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59BF #7DBF59
analogous
#6859BF #9B59BF #BF59B0
triadic
#9B59BF #BF9B59 #59BF9B
tetradic
#9B59BF #BF6859 #7DBF59 #59B0BF
square
#9B59BF #BF6859 #7DBF59 #59B0BF
split-complementary
#9B59BF #B0BF59 #59BF68
monochromatic
#592C72 #7C3D9E #9B59BF #B685D0 #D0B1E1

Accessibility & contrast

On white

4.59
#9B59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9B59BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59BF#FFFFFF#000000##FFFFFF
##9B59BF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5477BC
Tritanopia (blue-blind)
#976A84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b59bf;
/* rgb */ color: rgb(155, 89, 191);
/* oklch */ color: oklch(58.2% 0.162 312.3);
Tailwind
colors: {
  custom: {
    50: '#bb8ad3',
    500: '#9b59bf',
    950: '#000000',
  },
}
SCSS
$custom: #9b59bf;
$custom-light: #bb8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59bf",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 278.824,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.16247,
    "h": 312.3
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#9B59BF
secondary
#B4CFA4
accent
#D45481
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9B59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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