#9B60D8#9B60D8

#9B60D8 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.180 H 304.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9B60D8
RGBrgb(155, 96, 216)
HSLhsl(270, 61%, 61%)
HSVhsv(270, 56%, 85%)
CMYKcmyk(28.2%, 55.6%, 0%, 15.3%)
CIE-LABlab(52.17, 46.96, -52.82)
CIE-LCHlch(52.17, 70.68, 311.64°)
OKLaboklab(60.75% 0.1014 -0.149)
OKLCHoklch(60.75% 0.18 304.2)
XYZxyz(30.0924, 20.2923, 67.2839)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60D8 #9DD860
analogous
#6061D8 #9B60D8 #D760D8
triadic
#9B60D8 #D89B60 #60D89B
tetradic
#9B60D8 #D86061 #9DD860 #60D8D7
square
#9B60D8 #D86061 #9DD860 #60D8D7
split-complementary
#9B60D8 #D8D760 #61D860
monochromatic
#5E2598 #7C31C9 #9B60D8 #BA91E4 #D9C2F0

Accessibility & contrast

On white

4.15
#9B60D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9B60D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60D8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60D8#FFFFFF#000000##000000
##9B60D81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDC
Deuteranopia (green-blind)
#487CD5
Tritanopia (blue-blind)
#907793
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b60d8;
/* rgb */ color: rgb(155, 96, 216);
/* oklch */ color: oklch(60.7% 0.180 304.2);
Tailwind
colors: {
  custom: {
    50: '#bc8fe5',
    500: '#9b60d8',
    950: '#000000',
  },
}
SCSS
$custom: #9b60d8;
$custom-light: #bc8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60d8",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 216
  },
  "hsl": {
    "h": 269.5,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.18023,
    "h": 304.2
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#9B60D8
secondary
#CAE0B3
accent
#C81D74
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9B60D8

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

Preview Lab → · Contrast checker → · Palette generator →

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