Skip to content

#ad3dfb

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

RGB
173, 61, 251
HSL
275°, 96%, 61%
CMYK
31, 76, 0, 2
Luminance
0.1919

Every format

HEX#ad3dfb
RGBrgb(173, 61, 251)
HSLhsl(275, 96%, 61%)
CMYKcmyk(31%, 76%, 0%, 2%)
LABlab(50.9 74.4 -74.4)
LCHlch(50.9 105.3 315.0)
OKLCHoklch(0.610 0.264 306.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad3dfb on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#ad3dfb on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green23.9%
Blue98.4%

CMYK percentages

Cyan31.1%
Magenta75.7%
Yellow0.0%
Key (black)1.6%

Color previews

#ad3dfb text on a black background

contrast 4.84:1

Card sample

#ad3dfb text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3dfb in the Color Lab