Skip to content

#ad9fec

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

RGB
173, 159, 236
HSL
251°, 67%, 78%
CMYK
27, 33, 0, 8
Luminance
0.3974

Every format

HEX#ad9fec
RGBrgb(173, 159, 236)
HSLhsl(251, 67%, 78%)
CMYKcmyk(27%, 33%, 0%, 8%)
LABlab(69.3 21.4 -36.9)
LCHlch(69.3 42.6 300.2)
OKLCHoklch(0.744 0.110 291.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad9fec on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#ad9fec on black: 8.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green62.4%
Blue92.5%

CMYK percentages

Cyan26.7%
Magenta32.6%
Yellow0.0%
Key (black)7.5%

Color previews

#ad9fec text on a black background

contrast 8.95:1

Card sample

#ad9fec text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad9fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad9fec in the Color Lab