Skip to content

#dec0fc

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

RGB
222, 192, 252
HSL
270°, 91%, 87%
CMYK
12, 24, 0, 1
Luminance
0.6026

Every format

HEX#dec0fc
RGBrgb(222, 192, 252)
HSLhsl(270, 91%, 87%)
CMYKcmyk(12%, 24%, 0%, 1%)
LABlab(82.0 21.6 -25.6)
LCHlch(82.0 33.5 310.2)
OKLCHoklch(0.853 0.088 307.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec0fc on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dec0fc on black: 13.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green75.3%
Blue98.8%

CMYK percentages

Cyan11.9%
Magenta23.8%
Yellow0.0%
Key (black)1.2%

Color previews

#dec0fc text on a black background

contrast 13.05:1

Card sample

#dec0fc text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec0fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec0fc in the Color Lab