#9B60D4#9B60D4

#9B60D4 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.176 H 305.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9B60D4
RGBrgb(155, 96, 212)
HSLhsl(271, 57%, 60%)
HSVhsv(271, 55%, 83%)
CMYKcmyk(26.9%, 54.7%, 0%, 16.9%)
CIE-LABlab(51.94, 46.01, -50.92)
CIE-LCHlch(51.94, 68.63, 312.10°)
OKLaboklab(60.5% 0.1013 -0.1434)
OKLCHoklch(60.5% 0.176 305.2)
XYZxyz(29.5816, 20.0880, 64.5935)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60D4 #99D460
analogous
#6160D4 #9B60D4 #D460D3
triadic
#9B60D4 #D49B60 #60D49B
tetradic
#9B60D4 #D46160 #99D460 #60D3D4
square
#9B60D4 #D46160 #99D460 #60D3D4
split-complementary
#9B60D4 #D3D460 #60D461
monochromatic
#5E2892 #7D35C2 #9B60D4 #B990E1 #D8C0EE

Accessibility & contrast

On white

4.19
#9B60D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9B60D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60D4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60D4#FFFFFF#000000##000000
##9B60D41.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#4B7CD1
Tritanopia (blue-blind)
#917691
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b60d4;
/* rgb */ color: rgb(155, 96, 212);
/* oklch */ color: oklch(60.5% 0.176 305.2);
Tailwind
colors: {
  custom: {
    50: '#bb8fe2',
    500: '#9b60d4',
    950: '#000000',
  },
}
SCSS
$custom: #9b60d4;
$custom-light: #bb8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60d4",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 270.517,
    "s": 57.426,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.17557,
    "h": 305.2
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#9B60D4
secondary
#C8DEB2
accent
#C52071
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B60D4

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

Preview Lab → · Contrast checker → · Palette generator →

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