Skip to content

#ad56df

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

RGB
173, 86, 223
HSL
278°, 68%, 61%
CMYK
22, 61, 0, 13
Luminance
0.2087

Every format

HEX#ad56df
RGBrgb(173, 86, 223)
HSLhsl(278, 68%, 61%)
CMYKcmyk(22%, 61%, 0%, 13%)
LABlab(52.8 57.9 -55.6)
LCHlch(52.8 80.3 316.2)
OKLCHoklch(0.618 0.208 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad56df on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#ad56df on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green33.7%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta61.4%
Yellow0.0%
Key (black)12.5%

Color previews

#ad56df text on a black background

contrast 5.17:1

Card sample

#ad56df text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad56df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad56df in the Color Lab