Skip to content

#ad3ffc

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

RGB
173, 63, 252
HSL
275°, 97%, 62%
CMYK
31, 75, 0, 1
Luminance
0.1947

Every format

HEX#ad3ffc
RGBrgb(173, 63, 252)
HSLhsl(275, 97%, 62%)
CMYKcmyk(31%, 75%, 0%, 1%)
LABlab(51.2 73.9 -74.5)
LCHlch(51.2 104.9 314.8)
OKLCHoklch(0.613 0.263 306.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad3ffc on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#ad3ffc on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green24.7%
Blue98.8%

CMYK percentages

Cyan31.3%
Magenta75.0%
Yellow0.0%
Key (black)1.2%

Color previews

#ad3ffc text on a black background

contrast 4.89:1

Card sample

#ad3ffc text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3ffc in the Color Lab