#9B60DC#9B60DC

#9B60DC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.185 H 303.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9B60DC
RGBrgb(155, 96, 220)
HSLhsl(269, 64%, 62%)
HSVhsv(269, 56%, 86%)
CMYKcmyk(29.5%, 56.4%, 0%, 13.7%)
CIE-LABlab(52.40, 47.92, -54.72)
CIE-LCHlch(52.40, 72.73, 311.21°)
OKLaboklab(60.99% 0.1015 -0.1545)
OKLCHoklch(60.99% 0.185 303.3)
XYZxyz(30.6158, 20.5017, 70.0406)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60DC #A1DC60
analogous
#6063DC #9B60DC #D960DC
triadic
#9B60DC #DC9B60 #60DC9B
tetradic
#9B60DC #DC6063 #A1DC60 #60DCD9
square
#9B60DC #DC6063 #A1DC60 #60DCD9
split-complementary
#9B60DC #DCD960 #63DC60
monochromatic
#5E239F #7B2ED1 #9B60DC #BB92E7 #DAC4F2

Accessibility & contrast

On white

4.12
#9B60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9B60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60DC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60DC#FFFFFF#000000##000000
##9B60DC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#8F7895
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b60dc;
/* rgb */ color: rgb(155, 96, 220);
/* oklch */ color: oklch(61.0% 0.185 303.3);
Tailwind
colors: {
  custom: {
    50: '#bc8fe7',
    500: '#9b60dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b60dc;
$custom-light: #bc8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60dc",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 268.548,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.18489,
    "h": 303.3
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#9B60DC
secondary
#CDE3B5
accent
#CC1A77
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9B60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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