Skip to content

#dcccef

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

RGB
220, 204, 239
HSL
267°, 52%, 87%
CMYK
8, 15, 0, 6
Luminance
0.6463

Every format

HEX#dcccef
RGBrgb(220, 204, 239)
HSLhsl(267, 52%, 87%)
CMYKcmyk(8%, 15%, 0%, 6%)
LABlab(84.3 12.0 -15.2)
LCHlch(84.3 19.4 308.3)
OKLCHoklch(0.869 0.051 306.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcccef on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dcccef on black: 13.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green80.0%
Blue93.7%

CMYK percentages

Cyan7.9%
Magenta14.6%
Yellow0.0%
Key (black)6.3%

Color previews

#dcccef text on a black background

contrast 13.93:1

Card sample

#dcccef text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccef in the Color Lab