#9C5BBF#9C5BBF

#9C5BBF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.160 H 312.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9C5BBF
RGBrgb(156, 91, 191)
HSLhsl(279, 44%, 55%)
HSVhsv(279, 52%, 75%)
CMYKcmyk(18.3%, 52.4%, 0%, 25.1%)
CIE-LABlab(49.87, 44.16, -42.15)
CIE-LCHlch(49.87, 61.05, 316.33°)
OKLaboklab(58.63% 0.1078 -0.1178)
OKLCHoklch(58.63% 0.16 312.5)
XYZxyz(26.8537, 18.3123, 51.4001)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BBF #7EBF5B
analogous
#6A5BBF #9C5BBF #BF5BB0
triadic
#9C5BBF #BF9C5B #5BBF9C
tetradic
#9C5BBF #BF6A5B #7EBF5B #5BB0BF
square
#9C5BBF #BF6A5B #7EBF5B #5BB0BF
split-complementary
#9C5BBF #B0BF5B #5BBF6A
monochromatic
#5A2D73 #7D3E9F #9C5BBF #B787D0 #D1B3E1

Accessibility & contrast

On white

4.50
#9C5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9C5BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BBF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BBF#FFFFFF#000000##000000
##9C5BBF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#986B84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c5bbf;
/* rgb */ color: rgb(156, 91, 191);
/* oklch */ color: oklch(58.6% 0.160 312.5);
Tailwind
colors: {
  custom: {
    50: '#bb8cd3',
    500: '#9c5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bbf;
$custom-light: #bb8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bbf",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 279,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.15965,
    "h": 312.5
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#9C5BBF
secondary
#B5D0A6
accent
#D45481
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9C5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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