Skip to content

#ccc8ff

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

RGB
204, 200, 255
HSL
244°, 100%, 89%
CMYK
20, 22, 0, 0
Luminance
0.6137

Every format

HEX#ccc8ff
RGBrgb(204, 200, 255)
HSLhsl(244, 100%, 89%)
CMYKcmyk(20%, 22%, 0%, 0%)
LABlab(82.6 12.4 -26.4)
LCHlch(82.6 29.2 295.2)
OKLCHoklch(0.854 0.076 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc8ff on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#ccc8ff on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan20.0%
Magenta21.6%
Yellow0.0%
Key (black)0.0%

Color previews

#ccc8ff text on a black background

contrast 13.27:1

Card sample

#ccc8ff text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc8ff in the Color Lab