Skip to content

#c2cfff

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

RGB
194, 207, 255
HSL
227°, 100%, 88%
CMYK
24, 19, 0, 0
Luminance
0.6331

Every format

HEX#c2cfff
RGBrgb(194, 207, 255)
HSLhsl(227, 100%, 88%)
CMYKcmyk(24%, 19%, 0%, 0%)
LABlab(83.6 5.7 -24.9)
LCHlch(83.6 25.6 282.9)
OKLCHoklch(0.861 0.068 273.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green81.2%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta18.8%
Yellow0.0%
Key (black)0.0%

Color previews

#c2cfff text on a black background

contrast 13.66:1

Card sample

#c2cfff text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cfff in the Color Lab