Skip to content

#d2c3fe

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

RGB
210, 195, 254
HSL
255°, 97%, 88%
CMYK
17, 23, 0, 0
Luminance
0.5989

Every format

HEX#d2c3fe
RGBrgb(210, 195, 254)
HSLhsl(255, 97%, 88%)
CMYKcmyk(17%, 23%, 0%, 0%)
LABlab(81.8 16.8 -27.1)
LCHlch(81.8 31.8 301.7)
OKLCHoklch(0.849 0.083 296.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2c3fe on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#d2c3fe on black: 12.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green76.5%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta23.2%
Yellow0.0%
Key (black)0.4%

Color previews

#d2c3fe text on a black background

contrast 12.98:1

Card sample

#d2c3fe text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c3fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2c3fe in the Color Lab