Skip to content

#deccf3

a pale, vivid violet · warm · closest name: lavender

RGB
222, 204, 243
HSL
268°, 62%, 88%
CMYK
9, 16, 0, 5
Luminance
0.6519

Every format

HEX#deccf3
RGBrgb(222, 204, 243)
HSLhsl(268, 62%, 88%)
CMYKcmyk(9%, 16%, 0%, 5%)
LABlab(84.6 13.4 -16.9)
LCHlch(84.6 21.6 308.5)
OKLCHoklch(0.872 0.056 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#deccf3 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#deccf3 on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green80.0%
Blue95.3%

CMYK percentages

Cyan8.6%
Magenta16.0%
Yellow0.0%
Key (black)4.7%

Color previews

#deccf3 text on a black background

contrast 14.04:1

Card sample

#deccf3 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccf3 in the Color Lab