Skip to content

#ad4fff

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

RGB
173, 79, 255
HSL
272°, 100%, 66%
CMYK
32, 69, 0, 0
Luminance
0.2170

Every format

HEX#ad4fff
RGBrgb(173, 79, 255)
HSLhsl(272, 100%, 66%)
CMYKcmyk(32%, 69%, 0%, 0%)
LABlab(53.7 68.1 -72.1)
LCHlch(53.7 99.2 313.4)
OKLCHoklch(0.631 0.249 304.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4fff on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#ad4fff on black: 5.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green31.0%
Blue100.0%

CMYK percentages

Cyan32.2%
Magenta69.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ad4fff text on a black background

contrast 5.34:1

Card sample

#ad4fff text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4fff in the Color Lab