Skip to content

#ad8cfd

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

RGB
173, 140, 253
HSL
258°, 97%, 77%
CMYK
32, 45, 0, 1
Luminance
0.3473

Every format

HEX#ad8cfd
RGBrgb(173, 140, 253)
HSLhsl(258, 97%, 77%)
CMYKcmyk(32%, 45%, 0%, 1%)
LABlab(65.5 36.3 -52.0)
LCHlch(65.5 63.5 304.9)
OKLCHoklch(0.718 0.162 295.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad8cfd on white: 2.64:1
AA ✗ fail · AA-large · AAA
Aa
#ad8cfd on black: 7.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green54.9%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta44.7%
Yellow0.0%
Key (black)0.8%

Color previews

#ad8cfd text on a black background

contrast 7.95:1

Card sample

#ad8cfd text on a white background

contrast 2.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad8cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad8cfd in the Color Lab