Skip to content

#ddafe2

a light, vivid magenta / pink · warm · closest name: plum

RGB
221, 175, 226
HSL
294°, 47%, 79%
CMYK
2, 23, 0, 11
Luminance
0.5152

Every format

HEX#ddafe2
RGBrgb(221, 175, 226)
HSLhsl(294, 47%, 79%)
CMYKcmyk(2%, 23%, 0%, 11%)
LABlab(77.0 25.4 -19.2)
LCHlch(77.0 31.8 322.9)
OKLCHoklch(0.812 0.086 323.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddafe2 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ddafe2 on black: 11.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green68.6%
Blue88.6%

CMYK percentages

Cyan2.2%
Magenta22.6%
Yellow0.0%
Key (black)11.4%

Color previews

#ddafe2 text on a black background

contrast 11.30:1

Card sample

#ddafe2 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddafe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddafe2 in the Color Lab