Skip to content

#ad5df7

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

RGB
173, 93, 247
HSL
271°, 91%, 67%
CMYK
30, 62, 0, 3
Luminance
0.2343

Every format

HEX#ad5df7
RGBrgb(173, 93, 247)
HSLhsl(271, 91%, 67%)
CMYKcmyk(30%, 62%, 0%, 3%)
LABlab(55.5 59.9 -64.8)
LCHlch(55.5 88.2 312.8)
OKLCHoklch(0.642 0.223 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad5df7 on white: 3.69:1
AA ✗ fail · AA-large · AAA
Aa
#ad5df7 on black: 5.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan30.0%
Magenta62.3%
Yellow0.0%
Key (black)3.1%

Color previews

#ad5df7 text on a black background

contrast 5.69:1

Card sample

#ad5df7 text on a white background

contrast 3.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad5df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad5df7 in the Color Lab