Skip to content

#dec3ff

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

RGB
222, 195, 255
HSL
267°, 100%, 88%
CMYK
13, 24, 0, 0
Luminance
0.6178

Every format

HEX#dec3ff
RGBrgb(222, 195, 255)
HSLhsl(267, 100%, 88%)
CMYKcmyk(13%, 24%, 0%, 0%)
LABlab(82.8 20.7 -26.0)
LCHlch(82.8 33.2 308.5)
OKLCHoklch(0.860 0.086 305.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec3ff on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dec3ff on black: 13.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green76.5%
Blue100.0%

CMYK percentages

Cyan12.9%
Magenta23.5%
Yellow0.0%
Key (black)0.0%

Color previews

#dec3ff text on a black background

contrast 13.36:1

Card sample

#dec3ff text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec3ff in the Color Lab