Skip to content

#ad77fd

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

RGB
173, 119, 253
HSL
264°, 97%, 73%
CMYK
32, 53, 0, 1
Luminance
0.2917

Every format

HEX#ad77fd
RGBrgb(173, 119, 253)
HSLhsl(264, 97%, 73%)
CMYKcmyk(32%, 53%, 0%, 1%)
LABlab(60.9 47.9 -59.4)
LCHlch(60.9 76.3 308.9)
OKLCHoklch(0.683 0.194 299.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad77fd on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#ad77fd on black: 6.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green46.7%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta53.0%
Yellow0.0%
Key (black)0.8%

Color previews

#ad77fd text on a black background

contrast 6.83:1

Card sample

#ad77fd text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad77fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad77fd in the Color Lab