Skip to content

#dcc7f7

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

RGB
220, 199, 247
HSL
266°, 75%, 88%
CMYK
11, 19, 0, 3
Luminance
0.6278

Every format

HEX#dcc7f7
RGBrgb(220, 199, 247)
HSLhsl(266, 75%, 88%)
CMYKcmyk(11%, 19%, 0%, 3%)
LABlab(83.3 16.3 -20.9)
LCHlch(83.3 26.5 307.9)
OKLCHoklch(0.863 0.069 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcc7f7 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#dcc7f7 on black: 13.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green78.0%
Blue96.9%

CMYK percentages

Cyan10.9%
Magenta19.4%
Yellow0.0%
Key (black)3.1%

Color previews

#dcc7f7 text on a black background

contrast 13.56:1

Card sample

#dcc7f7 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcc7f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcc7f7 in the Color Lab