Skip to content

#ad8df4

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

RGB
173, 141, 244
HSL
259°, 82%, 76%
CMYK
29, 42, 0, 4
Luminance
0.3447

Every format

HEX#ad8df4
RGBrgb(173, 141, 244)
HSLhsl(259, 82%, 76%)
CMYKcmyk(29%, 42%, 0%, 4%)
LABlab(65.3 33.5 -47.4)
LCHlch(65.3 58.1 305.2)
OKLCHoklch(0.715 0.149 296.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad8df4 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#ad8df4 on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green55.3%
Blue95.7%

CMYK percentages

Cyan29.1%
Magenta42.2%
Yellow0.0%
Key (black)4.3%

Color previews

#ad8df4 text on a black background

contrast 7.89:1

Card sample

#ad8df4 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad8df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad8df4 in the Color Lab