#9B59BE#9B59BE

#9B59BE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.161 H 312.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9B59BE
RGBrgb(155, 89, 190)
HSLhsl(279, 44%, 55%)
HSVhsv(279, 53%, 75%)
CMYKcmyk(18.4%, 53.2%, 0%, 25.5%)
CIE-LABlab(49.29, 44.73, -42.50)
CIE-LCHlch(49.29, 61.71, 316.46°)
OKLaboklab(58.16% 0.1092 -0.1188)
OKLCHoklch(58.16% 0.161 312.6)
XYZxyz(26.3826, 17.8316, 50.7573)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59BE #7CBE59
analogous
#6959BE #9B59BE #BE59AF
triadic
#9B59BE #BE9B59 #59BE9B
tetradic
#9B59BE #BE6959 #7CBE59 #59AFBE
square
#9B59BE #BE6959 #7CBE59 #59AFBE
split-complementary
#9B59BE #AFBE59 #59BE69
monochromatic
#592C71 #7C3D9D #9B59BE #B585CF #D0B1E0

Accessibility & contrast

On white

4.60
#9B59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9B59BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59BE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59BE#FFFFFF#000000##FFFFFF
##9B59BE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#5477BB
Tritanopia (blue-blind)
#986A83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b59be;
/* rgb */ color: rgb(155, 89, 190);
/* oklch */ color: oklch(58.2% 0.161 312.6);
Tailwind
colors: {
  custom: {
    50: '#bb8ad2',
    500: '#9b59be',
    950: '#000000',
  },
}
SCSS
$custom: #9b59be;
$custom-light: #bb8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59be",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 279.208,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5816,
    "c": 0.16136,
    "h": 312.6
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#9B59BE
secondary
#B3CFA4
accent
#D35480
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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