Skip to content

#ad7df6

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

RGB
173, 125, 246
HSL
264°, 87%, 73%
CMYK
30, 49, 0, 4
Luminance
0.3021

Every format

HEX#ad7df6
RGBrgb(173, 125, 246)
HSLhsl(264, 87%, 73%)
CMYKcmyk(30%, 49%, 0%, 4%)
LABlab(61.8 42.9 -54.1)
LCHlch(61.8 69.0 308.4)
OKLCHoklch(0.689 0.176 300.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad7df6 on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#ad7df6 on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green49.0%
Blue96.5%

CMYK percentages

Cyan29.7%
Magenta49.2%
Yellow0.0%
Key (black)3.5%

Color previews

#ad7df6 text on a black background

contrast 7.04:1

Card sample

#ad7df6 text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad7df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad7df6 in the Color Lab