#9B60BC#9B60BC

#9B60BC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.148 H 312.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9B60BC
RGBrgb(155, 96, 188)
HSLhsl(278, 41%, 56%)
HSVhsv(278, 49%, 74%)
CMYKcmyk(17.6%, 48.9%, 0%, 26.3%)
CIE-LABlab(50.65, 40.50, -39.20)
CIE-LCHlch(50.65, 56.37, 315.93°)
OKLaboklab(59.13% 0.0993 -0.1092)
OKLCHoklch(59.13% 0.148 312.3)
XYZxyz(26.7760, 18.9657, 49.8174)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60BC #81BC60
analogous
#6D60BC #9B60BC #BC60AF
triadic
#9B60BC #BC9B60 #60BC9B
tetradic
#9B60BC #BC6D60 #81BC60 #60AFBC
square
#9B60BC #BC6D60 #81BC60 #60AFBC
split-complementary
#9B60BC #AFBC60 #60BC6D
monochromatic
#5A3072 #7C429D #9B60BC #B68BCE #D1B6E0

Accessibility & contrast

On white

4.38
#9B60BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9B60BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60BC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60BC#FFFFFF#000000##000000
##9B60BC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#986E85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b60bc;
/* rgb */ color: rgb(155, 96, 188);
/* oklch */ color: oklch(59.1% 0.148 312.3);
Tailwind
colors: {
  custom: {
    50: '#ba8fd0',
    500: '#9b60bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b60bc;
$custom-light: #ba8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60bc",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 278.478,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.14759,
    "h": 312.3
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#9B60BC
secondary
#B6CFA9
accent
#D15783
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B60BC

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

Preview Lab → · Contrast checker → · Palette generator →

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