Skip to content

#ad46df

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

RGB
173, 70, 223
HSL
280°, 71%, 58%
CMYK
22, 69, 0, 13
Luminance
0.1859

Every format

HEX#ad46df
RGBrgb(173, 70, 223)
HSLhsl(280, 71%, 58%)
CMYKcmyk(22%, 69%, 0%, 13%)
LABlab(50.2 65.1 -59.8)
LCHlch(50.2 88.4 317.4)
OKLCHoklch(0.599 0.229 312.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad46df on white: 4.45:1
AA ✗ fail · AA-large · AAA
Aa
#ad46df on black: 4.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green27.5%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta68.6%
Yellow0.0%
Key (black)12.5%

Color previews

#ad46df text on a black background

contrast 4.72:1

Card sample

#ad46df text on a white background

contrast 4.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad46df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad46df in the Color Lab