Skip to content

#ad9cfd

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

RGB
173, 156, 253
HSL
251°, 96%, 80%
CMYK
32, 38, 0, 1
Luminance
0.3975

Every format

HEX#ad9cfd
RGBrgb(173, 156, 253)
HSLhsl(251, 96%, 80%)
CMYKcmyk(32%, 38%, 0%, 1%)
LABlab(69.3 27.3 -46.1)
LCHlch(69.3 53.6 300.6)
OKLCHoklch(0.746 0.138 290.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green61.2%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta38.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ad9cfd text on a black background

contrast 8.95:1

Card sample

#ad9cfd text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad9cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad9cfd in the Color Lab