Skip to content

#ad3df0

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

RGB
173, 61, 240
HSL
278°, 86%, 59%
CMYK
28, 75, 0, 6
Luminance
0.1851

Every format

HEX#ad3df0
RGBrgb(173, 61, 240)
HSLhsl(278, 86%, 59%)
CMYKcmyk(28%, 75%, 0%, 6%)
LABlab(50.1 72.1 -69.6)
LCHlch(50.1 100.2 316.0)
OKLCHoklch(0.602 0.254 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green23.9%
Blue94.1%

CMYK percentages

Cyan27.9%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#ad3df0 text on a black background

contrast 4.70:1

Card sample

#ad3df0 text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3df0 in the Color Lab