Skip to content

#ad6df2

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

RGB
173, 109, 242
HSL
269°, 84%, 69%
CMYK
29, 55, 0, 5
Luminance
0.2623

Every format

HEX#ad6df2
RGBrgb(173, 109, 242)
HSLhsl(269, 84%, 69%)
CMYKcmyk(29%, 55%, 0%, 5%)
LABlab(58.3 50.6 -57.6)
LCHlch(58.3 76.7 311.3)
OKLCHoklch(0.661 0.195 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad6df2 on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#ad6df2 on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green42.7%
Blue94.9%

CMYK percentages

Cyan28.5%
Magenta55.0%
Yellow0.0%
Key (black)5.1%

Color previews

#ad6df2 text on a black background

contrast 6.25:1

Card sample

#ad6df2 text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad6df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad6df2 in the Color Lab