Skip to content

#ad0df8

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

RGB
173, 13, 248
HSL
281°, 94%, 51%
CMYK
30, 95, 0, 3
Luminance
0.1595

Every format

HEX#ad0df8
RGBrgb(173, 13, 248)
HSLhsl(281, 94%, 51%)
CMYKcmyk(30%, 95%, 0%, 3%)
LABlab(46.9 84.9 -79.3)
LCHlch(46.9 116.1 317.0)
OKLCHoklch(0.582 0.291 309.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad0df8 on white: 5.01:1
AA ✓ pass · AA-large · AAA
Aa
#ad0df8 on black: 4.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green5.1%
Blue97.3%

CMYK percentages

Cyan30.2%
Magenta94.8%
Yellow0.0%
Key (black)2.7%

Color previews

#ad0df8 text on a black background

contrast 4.19:1

Card sample

#ad0df8 text on a white background

contrast 5.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad0df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad0df8 in the Color Lab