Skip to content

#c0cdff

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

RGB
192, 205, 255
HSL
228°, 100%, 88%
CMYK
25, 20, 0, 0
Luminance
0.6209

Every format

HEX#c0cdff
RGBrgb(192, 205, 255)
HSLhsl(228, 100%, 88%)
CMYKcmyk(25%, 20%, 0%, 0%)
LABlab(83.0 6.2 -25.9)
LCHlch(83.0 26.6 283.4)
OKLCHoklch(0.855 0.071 273.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0cdff on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#c0cdff on black: 13.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green80.4%
Blue100.0%

CMYK percentages

Cyan24.7%
Magenta19.6%
Yellow0.0%
Key (black)0.0%

Color previews

#c0cdff text on a black background

contrast 13.42:1

Card sample

#c0cdff text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0cdff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0cdff in the Color Lab