Skip to content

#ddaffc

a light, electric violet · warm · closest name: plum

RGB
221, 175, 252
HSL
276°, 93%, 84%
CMYK
12, 31, 0, 1
Luminance
0.5306

Every format

HEX#ddaffc
RGBrgb(221, 175, 252)
HSLhsl(276, 93%, 84%)
CMYKcmyk(12%, 31%, 0%, 1%)
LABlab(77.9 30.5 -31.9)
LCHlch(77.9 44.1 313.8)
OKLCHoklch(0.822 0.116 311.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddaffc on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#ddaffc on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green68.6%
Blue98.8%

CMYK percentages

Cyan12.3%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#ddaffc text on a black background

contrast 11.61:1

Card sample

#ddaffc text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddaffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddaffc in the Color Lab