Skip to content

#ad9dfb

a light, electric blue · warm · closest name: plum

RGB
173, 157, 251
HSL
250°, 92%, 80%
CMYK
31, 38, 0, 2
Luminance
0.3996

Every format

HEX#ad9dfb
RGBrgb(173, 157, 251)
HSLhsl(250, 92%, 80%)
CMYKcmyk(31%, 38%, 0%, 2%)
LABlab(69.4 26.3 -44.8)
LCHlch(69.4 51.9 300.4)
OKLCHoklch(0.747 0.134 290.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad9dfb on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#ad9dfb on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green61.6%
Blue98.4%

CMYK percentages

Cyan31.1%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#ad9dfb text on a black background

contrast 8.99:1

Card sample

#ad9dfb text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad9dfb in the Color Lab