#9B5BBD#9B5BBD

#9B5BBD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.157 H 312.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9B5BBD
RGBrgb(155, 91, 189)
HSLhsl(279, 43%, 55%)
HSVhsv(279, 52%, 74%)
CMYKcmyk(18%, 51.9%, 0%, 25.9%)
CIE-LABlab(49.65, 43.44, -41.36)
CIE-LCHlch(49.65, 59.98, 316.40°)
OKLaboklab(58.41% 0.1064 -0.1155)
OKLCHoklch(58.41% 0.157 312.6)
XYZxyz(26.4424, 18.1255, 50.2399)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5BBD #7DBD5B
analogous
#6A5BBD #9B5BBD #BD5BAE
triadic
#9B5BBD #BD9B5B #5BBD9B
tetradic
#9B5BBD #BD6A5B #7DBD5B #5BAEBD
square
#9B5BBD #BD6A5B #7DBD5B #5BAEBD
split-complementary
#9B5BBD #AEBD5B #5BBD6A
monochromatic
#592D70 #7C3F9C #9B5BBD #B687CF #D0B2E0

Accessibility & contrast

On white

4.54
#9B5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9B5BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5BBD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5BBD#FFFFFF#000000##000000
##9B5BBD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#986B83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b5bbd;
/* rgb */ color: rgb(155, 91, 189);
/* oklch */ color: oklch(58.4% 0.157 312.6);
Tailwind
colors: {
  custom: {
    50: '#bb8cd1',
    500: '#9b5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9b5bbd;
$custom-light: #bb8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5bbd",
  "rgb": {
    "r": 155,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 279.184,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.157,
    "h": 312.6
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#9B5BBD
secondary
#B4CFA5
accent
#D25581
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9B5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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