Skip to content

#dec0ff

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

RGB
222, 192, 255
HSL
269°, 100%, 88%
CMYK
13, 25, 0, 0
Luminance
0.6045

Every format

HEX#dec0ff
RGBrgb(222, 192, 255)
HSLhsl(269, 100%, 88%)
CMYKcmyk(13%, 25%, 0%, 0%)
LABlab(82.1 22.3 -27.1)
LCHlch(82.1 35.0 309.5)
OKLCHoklch(0.854 0.091 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec0ff on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dec0ff on black: 13.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green75.3%
Blue100.0%

CMYK percentages

Cyan12.9%
Magenta24.7%
Yellow0.0%
Key (black)0.0%

Color previews

#dec0ff text on a black background

contrast 13.09:1

Card sample

#dec0ff text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec0ff in the Color Lab