#9B60BA#9B60BA

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

Color values

HEX#9B60BA
RGBrgb(155, 96, 186)
HSLhsl(279, 39%, 55%)
HSVhsv(279, 48%, 73%)
CMYKcmyk(16.7%, 48.4%, 0%, 27.1%)
CIE-LABlab(50.55, 40.06, -38.20)
CIE-LCHlch(50.55, 55.36, 316.36°)
OKLaboklab(59.02% 0.099 -0.1063)
OKLCHoklch(59.02% 0.145 313)
XYZxyz(26.5619, 18.8801, 48.6898)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60BA #7FBA60
analogous
#6E60BA #9B60BA #BA60AC
triadic
#9B60BA #BA9B60 #60BA9B
tetradic
#9B60BA #BA6E60 #7FBA60 #60ACBA
square
#9B60BA #BA6E60 #7FBA60 #60ACBA
split-complementary
#9B60BA #ACBA60 #60BA6E
monochromatic
#5A306F #7C439A #9B60BA #B68BCD #D1B5DF

Accessibility & contrast

On white

4.40
#9B60BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B60BA#FFFFFF#000000##000000
##9B60BA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#986E84
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b60ba;
/* rgb */ color: rgb(155, 96, 186);
/* oklch */ color: oklch(59.0% 0.145 313.0);
Tailwind
colors: {
  custom: {
    50: '#ba8fcf',
    500: '#9b60ba',
    950: '#000000',
  },
}
SCSS
$custom: #9b60ba;
$custom-light: #ba8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60ba",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 279.333,
    "s": 39.474,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59023,
    "c": 0.14529,
    "h": 313
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#9B60BA
secondary
#B5CEA8
accent
#CF5881
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B60BA

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

Preview Lab → · Contrast checker → · Palette generator →

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