#9D5BB3#9D5BB3

#9D5BB3 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.1% C 0.147 H 317.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9D5BB3
RGBrgb(157, 91, 179)
HSLhsl(285, 37%, 53%)
HSVhsv(285, 49%, 70%)
CMYKcmyk(12.3%, 49.2%, 0%, 29.8%)
CIE-LABlab(49.38, 41.84, -35.96)
CIE-LCHlch(49.38, 55.17, 319.33°)
OKLaboklab(58.1% 0.1077 -0.0997)
OKLCHoklch(58.1% 0.147 317.2)
XYZxyz(25.7812, 17.9058, 44.7372)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BB3 #71B35B
analogous
#715BB3 #9D5BB3 #B35B9D
triadic
#9D5BB3 #B39D5B #5BB39D
tetradic
#9D5BB3 #B3715B #71B35B #5B9DB3
square
#9D5BB3 #B3715B #71B35B #5B9DB3
split-complementary
#9D5BB3 #9DB35B #5BB371
monochromatic
#572F65 #7C428F #9D5BB3 #B685C6 #CFAFDA

Accessibility & contrast

On white

4.58
#9D5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9D5BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BB3
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BB3#FFFFFF#000000##000000
##9D5BB31.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#9C687F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d5bb3;
/* rgb */ color: rgb(157, 91, 179);
/* oklch */ color: oklch(58.1% 0.147 317.2);
Tailwind
colors: {
  custom: {
    50: '#bc8bca',
    500: '#9d5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bb3;
$custom-light: #bc8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bb3",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 285,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.14677,
    "h": 317.2
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#9D5BB3
secondary
#ABC8A2
accent
#CD5B78
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9D5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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