Skip to content

#ded2fd

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

RGB
222, 210, 253
HSL
257°, 92%, 91%
CMYK
12, 17, 0, 1
Luminance
0.6871

Every format

HEX#ded2fd
RGBrgb(222, 210, 253)
HSLhsl(257, 92%, 91%)
CMYKcmyk(12%, 17%, 0%, 1%)
LABlab(86.4 12.2 -19.5)
LCHlch(86.4 23.0 302.1)
OKLCHoklch(0.887 0.060 297.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ded2fd on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ded2fd on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green82.4%
Blue99.2%

CMYK percentages

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

Color previews

#ded2fd text on a black background

contrast 14.74:1

Card sample

#ded2fd text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ded2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ded2fd in the Color Lab