Skip to content

#ded2fb

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

RGB
222, 210, 251
HSL
258°, 84%, 90%
CMYK
12, 16, 0, 2
Luminance
0.6859

Every format

HEX#ded2fb
RGBrgb(222, 210, 251)
HSLhsl(258, 84%, 90%)
CMYKcmyk(12%, 16%, 0%, 2%)
LABlab(86.3 11.8 -18.5)
LCHlch(86.3 22.0 302.6)
OKLCHoklch(0.886 0.057 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ded2fb on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ded2fb on black: 14.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green82.4%
Blue98.4%

CMYK percentages

Cyan11.6%
Magenta16.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ded2fb text on a black background

contrast 14.72:1

Card sample

#ded2fb text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ded2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ded2fb in the Color Lab