Skip to content

#d2c2fc

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

RGB
210, 194, 252
HSL
257°, 91%, 88%
CMYK
17, 23, 0, 1
Luminance
0.5931

Every format

HEX#d2c2fc
RGBrgb(210, 194, 252)
HSLhsl(257, 91%, 88%)
CMYKcmyk(17%, 23%, 0%, 1%)
LABlab(81.5 16.9 -26.5)
LCHlch(81.5 31.4 302.5)
OKLCHoklch(0.847 0.082 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2c2fc on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#d2c2fc on black: 12.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green76.1%
Blue98.8%

CMYK percentages

Cyan16.7%
Magenta23.0%
Yellow0.0%
Key (black)1.2%

Color previews

#d2c2fc text on a black background

contrast 12.86:1

Card sample

#d2c2fc text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2c2fc in the Color Lab