Skip to content

#cccdfa

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

RGB
204, 205, 250
HSL
239°, 82%, 89%
CMYK
18, 18, 0, 2
Luminance
0.6340

Every format

HEX#cccdfa
RGBrgb(204, 205, 250)
HSLhsl(239, 82%, 89%)
CMYKcmyk(18%, 18%, 0%, 2%)
LABlab(83.7 8.7 -22.1)
LCHlch(83.7 23.8 291.4)
OKLCHoklch(0.862 0.062 284.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green80.4%
Blue98.0%

CMYK percentages

Cyan18.4%
Magenta18.0%
Yellow0.0%
Key (black)2.0%

Color previews

#cccdfa text on a black background

contrast 13.68:1

Card sample

#cccdfa text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccdfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccdfa in the Color Lab