#9B60B2#9B60B2

#9B60B2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 58.6% C 0.136 H 315.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9B60B2
RGBrgb(155, 96, 178)
HSLhsl(283, 35%, 54%)
HSVhsv(283, 46%, 70%)
CMYKcmyk(12.9%, 46.1%, 0%, 30.2%)
CIE-LABlab(50.16, 38.31, -34.18)
CIE-LCHlch(50.16, 51.34, 318.27°)
OKLaboklab(58.6% 0.0978 -0.0947)
OKLCHoklch(58.6% 0.136 315.9)
XYZxyz(25.7351, 18.5494, 44.3356)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B60B2 #77B260
analogous
#7260B2 #9B60B2 #B260A0
triadic
#9B60B2 #B29B60 #60B29B
tetradic
#9B60B2 #B27260 #77B260 #60A0B2
square
#9B60B2 #B27260 #77B260 #60A0B2
split-complementary
#9B60B2 #A0B260 #60B272
monochromatic
#573166 #7B458F #9B60B2 #B589C6 #CFB2DA

Accessibility & contrast

On white

4.46
#9B60B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9B60B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B60B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B60B2#FFFFFF#000000##000000
##9B60B21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#9A6C81
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b60b2;
/* rgb */ color: rgb(155, 96, 178);
/* oklch */ color: oklch(58.6% 0.136 315.9);
Tailwind
colors: {
  custom: {
    50: '#ba8fc9',
    500: '#9b60b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b60b2;
$custom-light: #ba8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b60b2",
  "rgb": {
    "r": 155,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 283.171,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.13613,
    "h": 315.9
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#9B60B2
secondary
#AFC8A5
accent
#CB5D7C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9B60B2

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

Preview Lab → · Contrast checker → · Palette generator →

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