#9B5CC0#9B5CC0

#9B5CC0 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.159 H 311.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9B5CC0
RGBrgb(155, 92, 192)
HSLhsl(278, 44%, 56%)
HSVhsv(278, 52%, 75%)
CMYKcmyk(19.3%, 52.1%, 0%, 24.7%)
CIE-LABlab(50.01, 43.57, -42.52)
CIE-LCHlch(50.01, 60.88, 315.70°)
OKLaboklab(58.73% 0.1053 -0.1188)
OKLCHoklch(58.73% 0.159 311.5)
XYZxyz(26.8574, 18.4292, 52.0013)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CC0 #81C05C
analogous
#695CC0 #9B5CC0 #C05CB3
triadic
#9B5CC0 #C09B5C #5CC09B
tetradic
#9B5CC0 #C0695C #81C05C #5CB3C0
square
#9B5CC0 #C0695C #81C05C #5CB3C0
split-complementary
#9B5CC0 #B3C05C #5CC069
monochromatic
#5A2D75 #7C3EA1 #9B5CC0 #B688D1 #D1B4E2

Accessibility & contrast

On white

4.48
#9B5CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9B5CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CC0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CC0#FFFFFF#000000##000000
##9B5CC01.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C3
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#976D85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b5cc0;
/* rgb */ color: rgb(155, 92, 192);
/* oklch */ color: oklch(58.7% 0.159 311.5);
Tailwind
colors: {
  custom: {
    50: '#bb8cd3',
    500: '#9b5cc0',
    950: '#000000',
  },
}
SCSS
$custom: #9b5cc0;
$custom-light: #bb8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5cc0",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 277.8,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.15877,
    "h": 311.5
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#9B5CC0
secondary
#B6D1A7
accent
#D45483
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9B5CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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