#9B60E6#9B60E6

#9B60E6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.197 H 301.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9B60E6
RGBrgb(155, 96, 230)
HSLhsl(266, 73%, 64%)
HSVhsv(266, 58%, 90%)
CMYKcmyk(32.6%, 58.3%, 0%, 9.8%)
CIE-LABlab(53.00, 50.34, -59.39)
CIE-LCHlch(53.00, 77.86, 310.29°)
OKLaboklab(61.63% 0.1016 -0.1682)
OKLCHoklch(61.63% 0.197 301.1)
XYZxyz(31.9800, 21.0473, 77.2253)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60E6 #ABE660
analogous
#6068E6 #9B60E6 #DE60E6
triadic
#9B60E6 #E69B60 #60E69B
tetradic
#9B60E6 #E66068 #ABE660 #60E6DE
square
#9B60E6 #E66068 #ABE660 #60E6DE
split-complementary
#9B60E6 #E6DE60 #68E660
monochromatic
#5D1CB0 #7A2BDE #9B60E6 #BC95EE #DECAF7

Accessibility & contrast

On white

4.03
#9B60E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9B60E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60E6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60E6#FFFFFF#000000##000000
##9B60E61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEA
Deuteranopia (green-blind)
#397EE3
Tritanopia (blue-blind)
#8C7C9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b60e6;
/* rgb */ color: rgb(155, 96, 230);
/* oklch */ color: oklch(61.6% 0.197 301.1);
Tailwind
colors: {
  custom: {
    50: '#bd8fef',
    500: '#9b60e6',
    950: '#000000',
  },
}
SCSS
$custom: #9b60e6;
$custom-light: #bd8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60e6",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 266.418,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.19652,
    "h": 301.1
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#9B60E6
secondary
#D4E8B9
accent
#D5117E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9B60E6

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

Preview Lab → · Contrast checker → · Palette generator →

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