Skip to content

#ad4fdf

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

RGB
173, 79, 223
HSL
279°, 69%, 59%
CMYK
22, 65, 0, 13
Luminance
0.1980

Every format

HEX#ad4fdf
RGBrgb(173, 79, 223)
HSLhsl(279, 69%, 59%)
CMYKcmyk(22%, 65%, 0%, 13%)
LABlab(51.6 61.2 -57.5)
LCHlch(51.6 84.0 316.8)
OKLCHoklch(0.610 0.217 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4fdf on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#ad4fdf on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green31.0%
Blue87.5%

CMYK percentages

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

Color previews

#ad4fdf text on a black background

contrast 4.96:1

Card sample

#ad4fdf text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4fdf in the Color Lab