Skip to content

#ddcdfb

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

RGB
221, 205, 251
HSL
261°, 85%, 89%
CMYK
12, 18, 0, 2
Luminance
0.6600

Every format

HEX#ddcdfb
RGBrgb(221, 205, 251)
HSLhsl(261, 85%, 89%)
CMYKcmyk(12%, 18%, 0%, 2%)
LABlab(85.0 14.2 -20.5)
LCHlch(85.0 24.9 304.7)
OKLCHoklch(0.876 0.065 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddcdfb on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#ddcdfb on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green80.4%
Blue98.4%

CMYK percentages

Cyan12.0%
Magenta18.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ddcdfb text on a black background

contrast 14.20:1

Card sample

#ddcdfb text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddcdfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddcdfb in the Color Lab