Skip to content

#cfdcfa

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

RGB
207, 220, 250
HSL
222°, 81%, 90%
CMYK
17, 12, 0, 2
Luminance
0.7135

Every format

HEX#cfdcfa
RGBrgb(207, 220, 250)
HSLhsl(222, 81%, 90%)
CMYKcmyk(17%, 12%, 0%, 2%)
LABlab(87.7 1.7 -16.1)
LCHlch(87.7 16.2 275.9)
OKLCHoklch(0.894 0.044 266.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdcfa on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#cfdcfa on black: 15.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green86.3%
Blue98.0%

CMYK percentages

Cyan17.2%
Magenta12.0%
Yellow0.0%
Key (black)2.0%

Color previews

#cfdcfa text on a black background

contrast 15.27:1

Card sample

#cfdcfa text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdcfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdcfa in the Color Lab