Skip to content

#dcc8f9

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

RGB
220, 200, 249
HSL
265°, 80%, 88%
CMYK
12, 20, 0, 2
Luminance
0.6336

Every format

HEX#dcc8f9
RGBrgb(220, 200, 249)
HSLhsl(265, 80%, 88%)
CMYKcmyk(12%, 20%, 0%, 2%)
LABlab(83.6 16.1 -21.5)
LCHlch(83.6 26.9 306.8)
OKLCHoklch(0.865 0.070 303.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcc8f9 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#dcc8f9 on black: 13.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green78.4%
Blue97.6%

CMYK percentages

Cyan11.6%
Magenta19.7%
Yellow0.0%
Key (black)2.4%

Color previews

#dcc8f9 text on a black background

contrast 13.67:1

Card sample

#dcc8f9 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcc8f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcc8f9 in the Color Lab