Skip to content

#ddcff2

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

RGB
221, 207, 242
HSL
264°, 57%, 88%
CMYK
9, 15, 0, 5
Luminance
0.6641

Every format

HEX#ddcff2
RGBrgb(221, 207, 242)
HSLhsl(264, 57%, 88%)
CMYKcmyk(9%, 15%, 0%, 5%)
LABlab(85.2 11.3 -15.4)
LCHlch(85.2 19.1 306.3)
OKLCHoklch(0.877 0.050 303.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddcff2 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#ddcff2 on black: 14.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green81.2%
Blue94.9%

CMYK percentages

Cyan8.7%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#ddcff2 text on a black background

contrast 14.28:1

Card sample

#ddcff2 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddcff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddcff2 in the Color Lab