Skip to content

#d2c0fc

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

RGB
210, 192, 252
HSL
258°, 91%, 87%
CMYK
17, 24, 0, 1
Luminance
0.5843

Every format

HEX#d2c0fc
RGBrgb(210, 192, 252)
HSLhsl(258, 91%, 87%)
CMYKcmyk(17%, 24%, 0%, 1%)
LABlab(81.0 17.9 -27.2)
LCHlch(81.0 32.6 303.4)
OKLCHoklch(0.843 0.085 298.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2c0fc on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#d2c0fc on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green75.3%
Blue98.8%

CMYK percentages

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

Color previews

#d2c0fc text on a black background

contrast 12.69:1

Card sample

#d2c0fc text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2c0fc in the Color Lab