Skip to content

#cac4df

a light, soft blue · warm · closest name: lavender

RGB
202, 196, 223
HSL
253°, 30%, 82%
CMYK
9, 12, 0, 13
Luminance
0.5736

Every format

HEX#cac4df
RGBrgb(202, 196, 223)
HSLhsl(253, 30%, 82%)
CMYKcmyk(9%, 12%, 0%, 13%)
LABlab(80.4 7.2 -12.7)
LCHlch(80.4 14.6 299.7)
OKLCHoklch(0.834 0.038 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac4df on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cac4df on black: 12.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.9%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta12.1%
Yellow0.0%
Key (black)12.5%

Color previews

#cac4df text on a black background

contrast 12.47:1

Card sample

#cac4df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac4df in the Color Lab