Skip to content

#ad5df3

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

RGB
173, 93, 243
HSL
272°, 86%, 66%
CMYK
29, 62, 0, 5
Luminance
0.2318

Every format

HEX#ad5df3
RGBrgb(173, 93, 243)
HSLhsl(272, 86%, 66%)
CMYKcmyk(29%, 62%, 0%, 5%)
LABlab(55.3 59.0 -62.9)
LCHlch(55.3 86.3 313.1)
OKLCHoklch(0.640 0.219 305.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad5df3 on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#ad5df3 on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green36.5%
Blue95.3%

CMYK percentages

Cyan28.8%
Magenta61.7%
Yellow0.0%
Key (black)4.7%

Color previews

#ad5df3 text on a black background

contrast 5.64:1

Card sample

#ad5df3 text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad5df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad5df3 in the Color Lab