#9D5BBD#9D5BBD

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

Color values

HEX#9D5BBD
RGBrgb(157, 91, 189)
HSLhsl(280, 43%, 55%)
HSVhsv(280, 52%, 74%)
CMYKcmyk(16.9%, 51.9%, 0%, 25.9%)
CIE-LABlab(49.89, 43.99, -40.97)
CIE-LCHlch(49.89, 60.11, 317.04°)
OKLaboklab(58.64% 0.1089 -0.1143)
OKLCHoklch(58.64% 0.158 313.6)
XYZxyz(26.8295, 18.3251, 50.2580)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BBD #7BBD5B
analogous
#6C5BBD #9D5BBD #BD5BAC
triadic
#9D5BBD #BD9D5B #5BBD9D
tetradic
#9D5BBD #BD6C5B #7BBD5B #5BACBD
square
#9D5BBD #BD6C5B #7BBD5B #5BACBD
split-complementary
#9D5BBD #ACBD5B #5BBD6C
monochromatic
#5A2D70 #7E3F9C #9D5BBD #B787CF #D1B2E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D5BBD#FFFFFF#000000##000000
##9D5BBD1.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)
#4473C0
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#9A6B83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d5bbd;
/* rgb */ color: rgb(157, 91, 189);
/* oklch */ color: oklch(58.6% 0.158 313.6);
Tailwind
colors: {
  custom: {
    50: '#bc8cd1',
    500: '#9d5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bbd;
$custom-light: #bc8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bbd",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 280.408,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.15782,
    "h": 313.6
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#9D5BBD
secondary
#B3CFA5
accent
#D2557E
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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