Skip to content

#ccc7f4

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

RGB
204, 199, 244
HSL
247°, 67%, 87%
CMYK
16, 18, 0, 4
Luminance
0.6022

Every format

HEX#ccc7f4
RGBrgb(204, 199, 244)
HSLhsl(247, 67%, 87%)
CMYKcmyk(16%, 18%, 0%, 4%)
LABlab(82.0 10.6 -21.5)
LCHlch(82.0 24.0 296.2)
OKLCHoklch(0.848 0.062 290.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7f4 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7f4 on black: 13.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.0%
Blue95.7%

CMYK percentages

Cyan16.4%
Magenta18.4%
Yellow0.0%
Key (black)4.3%

Color previews

#ccc7f4 text on a black background

contrast 13.04:1

Card sample

#ccc7f4 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7f4 in the Color Lab