Skip to content

#cac6fd

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

RGB
202, 198, 253
HSL
244°, 93%, 88%
CMYK
20, 22, 0, 1
Luminance
0.6004

Every format

HEX#cac6fd
RGBrgb(202, 198, 253)
HSLhsl(244, 93%, 88%)
CMYKcmyk(20%, 22%, 0%, 1%)
LABlab(81.9 12.5 -26.5)
LCHlch(81.9 29.3 295.2)
OKLCHoklch(0.848 0.076 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac6fd on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cac6fd on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green77.6%
Blue99.2%

CMYK percentages

Cyan20.2%
Magenta21.7%
Yellow0.0%
Key (black)0.8%

Color previews

#cac6fd text on a black background

contrast 13.01:1

Card sample

#cac6fd text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac6fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac6fd in the Color Lab