Skip to content

#dec6ff

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

RGB
222, 198, 255
HSL
265°, 100%, 89%
CMYK
13, 22, 0, 0
Luminance
0.6314

Every format

HEX#dec6ff
RGBrgb(222, 198, 255)
HSLhsl(265, 100%, 89%)
CMYKcmyk(13%, 22%, 0%, 0%)
LABlab(83.5 19.1 -24.9)
LCHlch(83.5 31.3 307.5)
OKLCHoklch(0.865 0.082 303.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec6ff on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#dec6ff on black: 13.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green77.6%
Blue100.0%

CMYK percentages

Cyan12.9%
Magenta22.4%
Yellow0.0%
Key (black)0.0%

Color previews

#dec6ff text on a black background

contrast 13.63:1

Card sample

#dec6ff text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec6ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec6ff in the Color Lab