#9B59D2#9B59D2

#9B59D2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.184 H 306.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9B59D2
RGBrgb(155, 89, 210)
HSLhsl(273, 57%, 59%)
HSVhsv(273, 58%, 82%)
CMYKcmyk(26.2%, 57.6%, 0%, 17.6%)
CIE-LABlab(50.41, 49.26, -52.21)
CIE-LCHlch(50.41, 71.78, 313.33°)
OKLaboklab(59.35% 0.1102 -0.1472)
OKLCHoklch(59.35% 0.184 306.8)
XYZxyz(28.7204, 18.7668, 63.0696)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59D2 #90D259
analogous
#5E59D2 #9B59D2 #D259CD
triadic
#9B59D2 #D29B59 #59D29B
tetradic
#9B59D2 #D25E59 #90D259 #59CDD2
square
#9B59D2 #D25E59 #90D259 #59CDD2
split-complementary
#9B59D2 #CDD259 #59D25E
monochromatic
#5D268B #7D33BB #9B59D2 #B889DF #D5B9EC

Accessibility & contrast

On white

4.42
#9B59D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9B59D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59D2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59D2#FFFFFF#000000##000000
##9B59D21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#4579CF
Tritanopia (blue-blind)
#92708D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b59d2;
/* rgb */ color: rgb(155, 89, 210);
/* oklch */ color: oklch(59.3% 0.184 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc8be0',
    500: '#9b59d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b59d2;
$custom-light: #bc8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59d2",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 272.727,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.18382,
    "h": 306.8
  },
  "luminance": 0.18766
}

Semantic roles & 50–950 ramp

primary
#9B59D2
secondary
#C1DBAB
accent
#E1478D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B59D2

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

Preview Lab → · Contrast checker → · Palette generator →

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