Skip to content

#ad7df9

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

RGB
173, 125, 249
HSL
263°, 91%, 73%
CMYK
31, 50, 0, 2
Luminance
0.3039

Every format

HEX#ad7df9
RGBrgb(173, 125, 249)
HSLhsl(263, 91%, 73%)
CMYKcmyk(31%, 50%, 0%, 2%)
LABlab(62.0 43.6 -55.5)
LCHlch(62.0 70.6 308.2)
OKLCHoklch(0.690 0.180 299.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green49.0%
Blue97.6%

CMYK percentages

Cyan30.5%
Magenta49.8%
Yellow0.0%
Key (black)2.4%

Color previews

#ad7df9 text on a black background

contrast 7.08:1

Card sample

#ad7df9 text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad7df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad7df9 in the Color Lab