Skip to content

#ad80eb

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

RGB
173, 128, 235
HSL
265°, 73%, 71%
CMYK
26, 46, 0, 8
Luminance
0.3032

Every format

HEX#ad80eb
RGBrgb(173, 128, 235)
HSLhsl(265, 73%, 71%)
CMYKcmyk(26%, 46%, 0%, 8%)
LABlab(61.9 38.6 -47.8)
LCHlch(61.9 61.5 308.9)
OKLCHoklch(0.688 0.158 301.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad80eb on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#ad80eb on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green50.2%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta45.5%
Yellow0.0%
Key (black)7.8%

Color previews

#ad80eb text on a black background

contrast 7.06:1

Card sample

#ad80eb text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad80eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad80eb in the Color Lab