Skip to content

#cac4f7

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

RGB
202, 196, 247
HSL
247°, 76%, 87%
CMYK
18, 21, 0, 3
Luminance
0.5875

Every format

HEX#cac4f7
RGBrgb(202, 196, 247)
HSLhsl(247, 76%, 87%)
CMYKcmyk(18%, 21%, 0%, 3%)
LABlab(81.2 12.2 -24.3)
LCHlch(81.2 27.2 296.7)
OKLCHoklch(0.842 0.071 290.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac4f7 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cac4f7 on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.9%
Blue96.9%

CMYK percentages

Cyan18.2%
Magenta20.6%
Yellow0.0%
Key (black)3.1%

Color previews

#cac4f7 text on a black background

contrast 12.75:1

Card sample

#cac4f7 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac4f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac4f7 in the Color Lab