#9B59DB#9B59DB

#9B59DB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.9% C 0.194 H 304.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9B59DB
RGBrgb(155, 89, 219)
HSLhsl(270, 64%, 60%)
HSVhsv(270, 59%, 86%)
CMYKcmyk(29.2%, 59.4%, 0%, 14.1%)
CIE-LABlab(50.95, 51.36, -56.47)
CIE-LCHlch(50.95, 76.33, 312.29°)
OKLaboklab(59.91% 0.1102 -0.1596)
OKLCHoklch(59.91% 0.194 304.6)
XYZxyz(29.8733, 19.2279, 69.1417)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59DB #99DB59
analogous
#5A59DB #9B59DB #DB59DA
triadic
#9B59DB #DB9B59 #59DB9B
tetradic
#9B59DB #DB5A59 #99DB59 #59DADB
square
#9B59DB #DB5A59 #99DB59 #59DADB
split-complementary
#9B59DB #DADB59 #59DB5A
monochromatic
#5E2199 #7D2CCB #9B59DB #B98BE6 #D8BEF1

Accessibility & contrast

On white

4.33
#9B59DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9B59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59DB#FFFFFF#000000##000000
##9B59DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978DF
Deuteranopia (green-blind)
#3C79D8
Tritanopia (blue-blind)
#907392
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b59db;
/* rgb */ color: rgb(155, 89, 219);
/* oklch */ color: oklch(59.9% 0.194 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc8be7',
    500: '#9b59db',
    950: '#000000',
  },
}
SCSS
$custom: #9b59db;
$custom-light: #bc8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59db",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 270.462,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59914,
    "c": 0.19396,
    "h": 304.6
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#9B59DB
secondary
#C8E1AF
accent
#CC1971
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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