#9C5BDB#9C5BDB

#9C5BDB is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.3% C 0.191 H 304.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9C5BDB
RGBrgb(156, 91, 219)
HSLhsl(270, 64%, 61%)
HSVhsv(270, 58%, 86%)
CMYKcmyk(28.8%, 58.4%, 0%, 14.1%)
CIE-LABlab(51.46, 50.56, -55.66)
CIE-LCHlch(51.46, 75.19, 312.25°)
OKLaboklab(60.31% 0.109 -0.1572)
OKLCHoklch(60.31% 0.191 304.7)
XYZxyz(30.2348, 19.6647, 69.2069)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BDB #9ADB5B
analogous
#5C5BDB #9C5BDB #DB5BDA
triadic
#9C5BDB #DB9C5B #5BDB9C
tetradic
#9C5BDB #DB5C5B #9ADB5B #5BDADB
square
#9C5BDB #DB5C5B #9ADB5B #5BDADB
split-complementary
#9C5BDB #DADB5B #5BDB5C
monochromatic
#5F229A #7E2DCC #9C5BDB #BA8DE6 #D9BFF1

Accessibility & contrast

On white

4.26
#9C5BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9C5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BDB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BDB#FFFFFF#000000##000000
##9C5BDB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2279DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#917492
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c5bdb;
/* rgb */ color: rgb(156, 91, 219);
/* oklch */ color: oklch(60.3% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#bd8ce7',
    500: '#9c5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bdb;
$custom-light: #bd8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bdb",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 270.469,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.19132,
    "h": 304.7
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#9C5BDB
secondary
#C9E1B1
accent
#CC1A71
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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