#9C5BD5#9C5BD5

#9C5BD5 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.185 H 306.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9C5BD5
RGBrgb(156, 91, 213)
HSLhsl(272, 59%, 60%)
HSVhsv(272, 57%, 84%)
CMYKcmyk(26.8%, 57.3%, 0%, 16.5%)
CIE-LABlab(51.10, 49.15, -52.82)
CIE-LCHlch(51.10, 72.15, 312.94°)
OKLaboklab(59.93% 0.109 -0.1489)
OKLCHoklch(59.93% 0.185 306.2)
XYZxyz(29.4591, 19.3544, 65.1217)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BD5 #94D55B
analogous
#5F5BD5 #9C5BD5 #D55BD1
triadic
#9C5BD5 #D59C5B #5BD59C
tetradic
#9C5BD5 #D55F5B #94D55B #5BD1D5
square
#9C5BD5 #D55F5B #94D55B #5BD1D5
split-complementary
#9C5BD5 #D1D55B #5BD55F
monochromatic
#5E2591 #7E32C1 #9C5BD5 #B98CE1 #D7BCEE

Accessibility & contrast

On white

4.31
#9C5BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9C5BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BD5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BD5#FFFFFF#000000##000000
##9C5BD51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B78D9
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#93728F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c5bd5;
/* rgb */ color: rgb(156, 91, 213);
/* oklch */ color: oklch(59.9% 0.185 306.2);
Tailwind
colors: {
  custom: {
    50: '#bc8ce2',
    500: '#9c5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bd5;
$custom-light: #bc8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bd5",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 271.967,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.18452,
    "h": 306.2
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

primary
#9C5BD5
secondary
#C4DEAE
accent
#E2458F
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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