Skip to content

#c5cff2

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

RGB
197, 207, 242
HSL
227°, 63%, 86%
CMYK
19, 15, 0, 5
Luminance
0.6291

Every format

HEX#c5cff2
RGBrgb(197, 207, 242)
HSLhsl(227, 63%, 86%)
CMYKcmyk(19%, 15%, 0%, 5%)
LABlab(83.4 3.7 -18.3)
LCHlch(83.4 18.7 281.5)
OKLCHoklch(0.858 0.050 272.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5cff2 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#c5cff2 on black: 13.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green81.2%
Blue94.9%

CMYK percentages

Cyan18.6%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#c5cff2 text on a black background

contrast 13.58:1

Card sample

#c5cff2 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5cff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5cff2 in the Color Lab