Skip to content

#ddcfe2

a light, soft violet · warm · closest name: lavender

RGB
221, 207, 226
HSL
284°, 25%, 85%
CMYK
2, 8, 0, 11
Luminance
0.6549

Every format

HEX#ddcfe2
RGBrgb(221, 207, 226)
HSLhsl(284, 25%, 85%)
CMYKcmyk(2%, 8%, 0%, 11%)
LABlab(84.7 8.2 -7.6)
LCHlch(84.7 11.2 317.2)
OKLCHoklch(0.872 0.030 317.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddcfe2 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ddcfe2 on black: 14.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green81.2%
Blue88.6%

CMYK percentages

Cyan2.2%
Magenta8.4%
Yellow0.0%
Key (black)11.4%

Color previews

#ddcfe2 text on a black background

contrast 14.10:1

Card sample

#ddcfe2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddcfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddcfe2 in the Color Lab