Skip to content

#ccc7da

a light, soft violet · warm · closest name: lavender

RGB
204, 199, 218
HSL
256°, 20%, 82%
CMYK
6, 9, 0, 15
Luminance
0.5875

Every format

HEX#ccc7da
RGBrgb(204, 199, 218)
HSLhsl(256, 20%, 82%)
CMYKcmyk(6%, 9%, 0%, 15%)
LABlab(81.2 5.3 -8.8)
LCHlch(81.2 10.3 301.0)
OKLCHoklch(0.840 0.027 297.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7da on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7da on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.0%
Blue85.5%

CMYK percentages

Cyan6.4%
Magenta8.7%
Yellow0.0%
Key (black)14.5%

Color previews

#ccc7da text on a black background

contrast 12.75:1

Card sample

#ccc7da text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7da in the Color Lab