Skip to content

#dec7fd

a pale, electric violet · warm · closest name: plum

RGB
222, 199, 253
HSL
266°, 93%, 89%
CMYK
12, 21, 0, 1
Luminance
0.6347

Every format

HEX#dec7fd
RGBrgb(222, 199, 253)
HSLhsl(266, 93%, 89%)
CMYKcmyk(12%, 21%, 0%, 1%)
LABlab(83.7 18.1 -23.5)
LCHlch(83.7 29.7 307.6)
OKLCHoklch(0.866 0.077 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec7fd on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dec7fd on black: 13.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green78.0%
Blue99.2%

CMYK percentages

Cyan12.3%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#dec7fd text on a black background

contrast 13.69:1

Card sample

#dec7fd text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec7fd in the Color Lab