Skip to content

#cacaf1

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

RGB
202, 202, 241
HSL
240°, 58%, 87%
CMYK
16, 16, 0, 6
Luminance
0.6115

Every format

HEX#cacaf1
RGBrgb(202, 202, 241)
HSLhsl(240, 58%, 87%)
CMYKcmyk(16%, 16%, 0%, 6%)
LABlab(82.5 7.7 -19.2)
LCHlch(82.5 20.7 292.0)
OKLCHoklch(0.852 0.054 285.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacaf1 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#cacaf1 on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green79.2%
Blue94.5%

CMYK percentages

Cyan16.2%
Magenta16.2%
Yellow0.0%
Key (black)5.5%

Color previews

#cacaf1 text on a black background

contrast 13.23:1

Card sample

#cacaf1 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cacaf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cacaf1 in the Color Lab