Skip to content

#ad5df6

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

RGB
173, 93, 246
HSL
271°, 90%, 67%
CMYK
30, 62, 0, 4
Luminance
0.2337

Every format

HEX#ad5df6
RGBrgb(173, 93, 246)
HSLhsl(271, 90%, 67%)
CMYKcmyk(30%, 62%, 0%, 4%)
LABlab(55.5 59.7 -64.3)
LCHlch(55.5 87.7 312.9)
OKLCHoklch(0.642 0.222 305.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad5df6 on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#ad5df6 on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green36.5%
Blue96.5%

CMYK percentages

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

Color previews

#ad5df6 text on a black background

contrast 5.67:1

Card sample

#ad5df6 text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad5df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad5df6 in the Color Lab