Skip to content

#ad80fd

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

RGB
173, 128, 253
HSL
262°, 97%, 75%
CMYK
32, 49, 0, 1
Luminance
0.3141

Every format

HEX#ad80fd
RGBrgb(173, 128, 253)
HSLhsl(262, 97%, 75%)
CMYKcmyk(32%, 49%, 0%, 1%)
LABlab(62.9 43.0 -56.3)
LCHlch(62.9 70.8 307.4)
OKLCHoklch(0.698 0.180 298.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad80fd on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#ad80fd on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green50.2%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta49.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ad80fd text on a black background

contrast 7.28:1

Card sample

#ad80fd text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad80fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad80fd in the Color Lab