Skip to content

#ddaffb

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

RGB
221, 175, 251
HSL
276°, 91%, 84%
CMYK
12, 30, 0, 2
Luminance
0.5300

Every format

HEX#ddaffb
RGBrgb(221, 175, 251)
HSLhsl(276, 91%, 84%)
CMYKcmyk(12%, 30%, 0%, 2%)
LABlab(77.9 30.3 -31.4)
LCHlch(77.9 43.6 314.0)
OKLCHoklch(0.821 0.115 311.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green68.6%
Blue98.4%

CMYK percentages

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

Color previews

#ddaffb text on a black background

contrast 11.60:1

Card sample

#ddaffb text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddaffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddaffb in the Color Lab