Skip to content

#ccc7ff

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

RGB
204, 199, 255
HSL
245°, 100%, 89%
CMYK
20, 22, 0, 0
Luminance
0.6090

Every format

HEX#ccc7ff
RGBrgb(204, 199, 255)
HSLhsl(245, 100%, 89%)
CMYKcmyk(20%, 22%, 0%, 0%)
LABlab(82.3 13.0 -26.8)
LCHlch(82.3 29.8 295.8)
OKLCHoklch(0.853 0.077 288.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7ff on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7ff on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.0%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta22.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ccc7ff text on a black background

contrast 13.18:1

Card sample

#ccc7ff text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7ff in the Color Lab