#9C5DBE#9C5DBE

#9C5DBE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.155 H 312.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9C5DBE
RGBrgb(156, 93, 190)
HSLhsl(279, 43%, 55%)
HSVhsv(279, 51%, 75%)
CMYKcmyk(17.9%, 51.1%, 0%, 25.5%)
CIE-LABlab(50.23, 42.86, -41.00)
CIE-LCHlch(50.23, 59.31, 316.27°)
OKLaboklab(58.88% 0.1049 -0.1144)
OKLCHoklch(58.88% 0.155 312.5)
XYZxyz(26.9173, 18.6149, 50.8803)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DBE #7FBE5D
analogous
#6B5DBE #9C5DBE #BE5DAF
triadic
#9C5DBE #BE9C5D #5DBE9C
tetradic
#9C5DBE #BE6B5D #7FBE5D #5DAFBE
square
#9C5DBE #BE6B5D #7FBE5D #5DAFBE
split-complementary
#9C5DBE #AFBE5D #5DBE6B
monochromatic
#5B2E73 #7D409E #9C5DBE #B789D0 #D1B4E1

Accessibility & contrast

On white

4.45
#9C5DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9C5DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DBE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DBE#FFFFFF#000000##000000
##9C5DBE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#996D85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c5dbe;
/* rgb */ color: rgb(156, 93, 190);
/* oklch */ color: oklch(58.9% 0.155 312.5);
Tailwind
colors: {
  custom: {
    50: '#bb8dd2',
    500: '#9c5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9c5dbe;
$custom-light: #bb8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5dbe",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 278.969,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.15526,
    "h": 312.5
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#9C5DBE
secondary
#B5D0A7
accent
#D35581
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9C5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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