Skip to content

#9c55ff

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

RGB
156, 85, 255
HSL
265°, 100%, 67%
CMYK
39, 67, 0, 0
Luminance
0.2078

Every format

HEX#9c55ff
RGBrgb(156, 85, 255)
HSLhsl(265, 100%, 67%)
CMYKcmyk(39%, 67%, 0%, 0%)
LABlab(52.7 62.2 -73.8)
LCHlch(52.7 96.5 310.1)
OKLCHoklch(0.620 0.239 298.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9c55ff on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#9c55ff on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green33.3%
Blue100.0%

CMYK percentages

Cyan38.8%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#9c55ff text on a black background

contrast 5.16:1

Card sample

#9c55ff text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9c55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9c55ff in the Color Lab