#9B60BB#9B60BB

#9B60BB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.146 H 312.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9B60BB
RGBrgb(155, 96, 187)
HSLhsl(279, 40%, 55%)
HSVhsv(279, 49%, 73%)
CMYKcmyk(17.1%, 48.7%, 0%, 26.7%)
CIE-LABlab(50.60, 40.28, -38.70)
CIE-LCHlch(50.60, 55.86, 316.14°)
OKLaboklab(59.08% 0.0991 -0.1078)
OKLCHoklch(59.08% 0.146 312.6)
XYZxyz(26.6685, 18.9227, 49.2517)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60BB #80BB60
analogous
#6D60BB #9B60BB #BB60AD
triadic
#9B60BB #BB9B60 #60BB9B
tetradic
#9B60BB #BB6D60 #80BB60 #60ADBB
square
#9B60BB #BB6D60 #80BB60 #60ADBB
split-complementary
#9B60BB #ADBB60 #60BB6D
monochromatic
#5A3070 #7C429B #9B60BB #B68BCD #D1B6E0

Accessibility & contrast

On white

4.39
#9B60BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9B60BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60BB#FFFFFF#000000##000000
##9B60BB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#986E85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b60bb;
/* rgb */ color: rgb(155, 96, 187);
/* oklch */ color: oklch(59.1% 0.146 312.6);
Tailwind
colors: {
  custom: {
    50: '#ba8fd0',
    500: '#9b60bb',
    950: '#000000',
  },
}
SCSS
$custom: #9b60bb;
$custom-light: #ba8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60bb",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 278.901,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.14644,
    "h": 312.6
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

primary
#9B60BB
secondary
#B6CEA8
accent
#D05882
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B60BB

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

Preview Lab → · Contrast checker → · Palette generator →

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