Skip to content

#ad4cfd

a balanced, electric violet · warm · closest name: magenta

RGB
173, 76, 253
HSL
273°, 98%, 65%
CMYK
32, 70, 0, 1
Luminance
0.2114

Every format

HEX#ad4cfd
RGBrgb(173, 76, 253)
HSLhsl(273, 98%, 65%)
CMYKcmyk(32%, 70%, 0%, 1%)
LABlab(53.1 69.0 -72.0)
LCHlch(53.1 99.7 313.8)
OKLCHoklch(0.626 0.250 305.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4cfd on white: 4.02:1
AA ✗ fail · AA-large · AAA
Aa
#ad4cfd on black: 5.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green29.8%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta70.0%
Yellow0.0%
Key (black)0.8%

Color previews

#ad4cfd text on a black background

contrast 5.23:1

Card sample

#ad4cfd text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4cfd in the Color Lab