Skip to content

#dec3f9

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

RGB
222, 195, 249
HSL
270°, 82%, 87%
CMYK
11, 22, 0, 2
Luminance
0.6140

Every format

HEX#dec3f9
RGBrgb(222, 195, 249)
HSLhsl(270, 82%, 87%)
CMYKcmyk(11%, 22%, 0%, 2%)
LABlab(82.6 19.4 -23.1)
LCHlch(82.6 30.2 310.1)
OKLCHoklch(0.857 0.079 307.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec3f9 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dec3f9 on black: 13.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green76.5%
Blue97.6%

CMYK percentages

Cyan10.8%
Magenta21.7%
Yellow0.0%
Key (black)2.4%

Color previews

#dec3f9 text on a black background

contrast 13.28:1

Card sample

#dec3f9 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec3f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec3f9 in the Color Lab