Skip to content

#dec2ff

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

RGB
222, 194, 255
HSL
268°, 100%, 88%
CMYK
13, 24, 0, 0
Luminance
0.6133

Every format

HEX#dec2ff
RGBrgb(222, 194, 255)
HSLhsl(268, 100%, 88%)
CMYKcmyk(13%, 24%, 0%, 0%)
LABlab(82.6 21.2 -26.3)
LCHlch(82.6 33.8 308.8)
OKLCHoklch(0.858 0.088 305.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dec2ff text on a black background

contrast 13.27:1

Card sample

#dec2ff text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec2ff in the Color Lab