Skip to content

#dda2fc

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

RGB
221, 162, 252
HSL
279°, 94%, 81%
CMYK
12, 36, 0, 1
Luminance
0.4824

Every format

HEX#dda2fc
RGBrgb(221, 162, 252)
HSLhsl(279, 94%, 81%)
CMYKcmyk(12%, 36%, 0%, 1%)
LABlab(75.0 37.5 -36.4)
LCHlch(75.0 52.3 315.9)
OKLCHoklch(0.799 0.138 313.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dda2fc on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#dda2fc on black: 10.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green63.5%
Blue98.8%

CMYK percentages

Cyan12.3%
Magenta35.7%
Yellow0.0%
Key (black)1.2%

Color previews

#dda2fc text on a black background

contrast 10.65:1

Card sample

#dda2fc text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dda2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dda2fc in the Color Lab