Skip to content

#ad26df

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

RGB
173, 38, 223
HSL
284°, 74%, 51%
CMYK
22, 83, 0, 13
Luminance
0.1560

Every format

HEX#ad26df
RGBrgb(173, 38, 223)
HSLhsl(284, 74%, 51%)
CMYKcmyk(22%, 83%, 0%, 13%)
LABlab(46.4 75.9 -65.9)
LCHlch(46.4 100.5 319.0)
OKLCHoklch(0.573 0.260 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad26df on white: 5.10:1
AA ✓ pass · AA-large · AAA
Aa
#ad26df on black: 4.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green14.9%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta83.0%
Yellow0.0%
Key (black)12.5%

Color previews

#ad26df text on a black background

contrast 4.12:1

Card sample

#ad26df text on a white background

contrast 5.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad26df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad26df in the Color Lab