Skip to content

#cdd9fa

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

RGB
205, 217, 250
HSL
224°, 82%, 89%
CMYK
18, 13, 0, 2
Luminance
0.6951

Every format

HEX#cdd9fa
RGBrgb(205, 217, 250)
HSLhsl(224, 82%, 89%)
CMYKcmyk(18%, 13%, 0%, 2%)
LABlab(86.8 2.6 -17.4)
LCHlch(86.8 17.6 278.5)
OKLCHoklch(0.887 0.047 269.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd9fa on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#cdd9fa on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.1%
Blue98.0%

CMYK percentages

Cyan18.0%
Magenta13.2%
Yellow0.0%
Key (black)2.0%

Color previews

#cdd9fa text on a black background

contrast 14.90:1

Card sample

#cdd9fa text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdd9fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd9fa in the Color Lab