Skip to content

#ad55ff

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

RGB
173, 85, 255
HSL
271°, 100%, 67%
CMYK
32, 67, 0, 0
Luminance
0.2260

Every format

HEX#ad55ff
RGBrgb(173, 85, 255)
HSLhsl(271, 100%, 67%)
CMYKcmyk(32%, 67%, 0%, 0%)
LABlab(54.7 65.5 -70.6)
LCHlch(54.7 96.3 312.9)
OKLCHoklch(0.638 0.242 304.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad55ff on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#ad55ff on black: 5.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green33.3%
Blue100.0%

CMYK percentages

Cyan32.2%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ad55ff text on a black background

contrast 5.52:1

Card sample

#ad55ff text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad55ff in the Color Lab