Skip to content

#9c77df

a light, vivid violet · warm · closest name: slateblue

RGB
156, 119, 223
HSL
261°, 62%, 67%
CMYK
30, 47, 0, 13
Luminance
0.2559

Every format

HEX#9c77df
RGBrgb(156, 119, 223)
HSLhsl(261, 62%, 67%)
CMYKcmyk(30%, 47%, 0%, 13%)
LABlab(57.6 36.2 -48.0)
LCHlch(57.6 60.1 307.0)
OKLCHoklch(0.650 0.154 298.4)

Copy-ready code

/* CSS */
color: #9c77df;
background-color: #9c77df;
/* Tailwind (arbitrary) */
class="text-[#9c77df] bg-[#9c77df]"
/* SCSS */
$brand: #9c77df;
/* SwiftUI */
Color(red: 0.612, green: 0.467, blue: 0.875)
/* Android */
Color.parseColor("#9c77df")

Accessibility — WCAG contrast

Aa
#9c77df on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#9c77df on black: 6.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green46.7%
Blue87.5%

CMYK percentages

Cyan30.0%
Magenta46.6%
Yellow0.0%
Key (black)12.5%

Color previews

#9c77df text on a black background

contrast 6.12:1

Card sample

#9c77df text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9c77df;
Background color
Panel with #9c77df background
background-color: #9c77df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9c77df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(156, 119, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 119, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9c77df;
background: linear-gradient(135deg, #9c77df, #DF77DD);

Monochromatic scale

Palettes built from #9c77df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9c77df in the Color Lab