Skip to content

#dec0fd

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

RGB
222, 192, 253
HSL
270°, 94%, 87%
CMYK
12, 24, 0, 1
Luminance
0.6032

Every format

HEX#dec0fd
RGBrgb(222, 192, 253)
HSLhsl(270, 94%, 87%)
CMYKcmyk(12%, 24%, 0%, 1%)
LABlab(82.0 21.9 -26.1)
LCHlch(82.0 34.0 310.0)
OKLCHoklch(0.853 0.089 306.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec0fd on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dec0fd on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green75.3%
Blue99.2%

CMYK percentages

Cyan12.3%
Magenta24.1%
Yellow0.0%
Key (black)0.8%

Color previews

#dec0fd text on a black background

contrast 13.06:1

Card sample

#dec0fd text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec0fd in the Color Lab