Skip to content

#ad3fec

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

RGB
173, 63, 236
HSL
278°, 82%, 59%
CMYK
27, 73, 0, 8
Luminance
0.1850

Every format

HEX#ad3fec
RGBrgb(173, 63, 236)
HSLhsl(278, 82%, 59%)
CMYKcmyk(27%, 73%, 0%, 8%)
LABlab(50.1 70.6 -67.3)
LCHlch(50.1 97.5 316.3)
OKLCHoklch(0.601 0.249 309.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad3fec on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#ad3fec on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green24.7%
Blue92.5%

CMYK percentages

Cyan26.7%
Magenta73.3%
Yellow0.0%
Key (black)7.5%

Color previews

#ad3fec text on a black background

contrast 4.70:1

Card sample

#ad3fec text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3fec in the Color Lab