Skip to content

#dec8f9

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

RGB
222, 200, 249
HSL
267°, 80%, 88%
CMYK
11, 20, 0, 2
Luminance
0.6368

Every format

HEX#dec8f9
RGBrgb(222, 200, 249)
HSLhsl(267, 80%, 88%)
CMYKcmyk(11%, 20%, 0%, 2%)
LABlab(83.8 16.8 -21.3)
LCHlch(83.8 27.1 308.2)
OKLCHoklch(0.867 0.071 305.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec8f9 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dec8f9 on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green78.4%
Blue97.6%

CMYK percentages

Cyan10.8%
Magenta19.7%
Yellow0.0%
Key (black)2.4%

Color previews

#dec8f9 text on a black background

contrast 13.74:1

Card sample

#dec8f9 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec8f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dec8f9 in the Color Lab