#9B60CB#9B60CB

#9B60CB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.165 H 307.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9B60CB
RGBrgb(155, 96, 203)
HSLhsl(273, 51%, 59%)
HSVhsv(273, 53%, 80%)
CMYKcmyk(23.6%, 52.7%, 0%, 20.4%)
CIE-LABlab(51.44, 43.91, -46.58)
CIE-LCHlch(51.44, 64.01, 313.31°)
OKLaboklab(59.97% 0.1008 -0.1307)
OKLCHoklch(59.97% 0.165 307.6)
XYZxyz(28.4778, 19.6464, 58.7803)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60CB #90CB60
analogous
#6560CB #9B60CB #CB60C5
triadic
#9B60CB #CB9B60 #60CB9B
tetradic
#9B60CB #CB6560 #90CB60 #60C5CB
square
#9B60CB #CB6560 #90CB60 #60C5CB
split-complementary
#9B60CB #C5CB60 #60CB65
monochromatic
#5D2C85 #7D3BB3 #9B60CB #B88EDA #D5BCE9

Accessibility & contrast

On white

4.26
#9B60CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9B60CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60CB#FFFFFF#000000##000000
##9B60CB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#94738C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b60cb;
/* rgb */ color: rgb(155, 96, 203);
/* oklch */ color: oklch(60.0% 0.165 307.6);
Tailwind
colors: {
  custom: {
    50: '#bb8fdb',
    500: '#9b60cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b60cb;
$custom-light: #bb8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60cb",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 273.084,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.16505,
    "h": 307.6
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#9B60CB
secondary
#C1D9AE
accent
#DA4E8D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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