Skip to content

#cac4f6

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

RGB
202, 196, 246
HSL
247°, 74%, 87%
CMYK
18, 20, 0, 4
Luminance
0.5869

Every format

HEX#cac4f6
RGBrgb(202, 196, 246)
HSLhsl(247, 74%, 87%)
CMYKcmyk(18%, 20%, 0%, 4%)
LABlab(81.1 12.0 -23.9)
LCHlch(81.1 26.7 296.7)
OKLCHoklch(0.842 0.070 290.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan17.9%
Magenta20.3%
Yellow0.0%
Key (black)3.5%

Color previews

#cac4f6 text on a black background

contrast 12.74:1

Card sample

#cac4f6 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac4f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac4f6 in the Color Lab