Skip to content

#c5caff

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

RGB
197, 202, 255
HSL
235°, 100%, 89%
CMYK
23, 21, 0, 0
Luminance
0.6133

Every format

HEX#c5caff
RGBrgb(197, 202, 255)
HSLhsl(235, 100%, 89%)
CMYKcmyk(23%, 21%, 0%, 0%)
LABlab(82.6 9.3 -26.5)
LCHlch(82.6 28.1 289.3)
OKLCHoklch(0.853 0.074 280.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5caff on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#c5caff on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green79.2%
Blue100.0%

CMYK percentages

Cyan22.7%
Magenta20.8%
Yellow0.0%
Key (black)0.0%

Color previews

#c5caff text on a black background

contrast 13.27:1

Card sample

#c5caff text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5caff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5caff in the Color Lab