Skip to content

#cac9fd

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

RGB
202, 201, 253
HSL
241°, 93%, 89%
CMYK
20, 21, 0, 1
Luminance
0.6142

Every format

HEX#cac9fd
RGBrgb(202, 201, 253)
HSLhsl(241, 93%, 89%)
CMYKcmyk(20%, 21%, 0%, 1%)
LABlab(82.6 10.9 -25.3)
LCHlch(82.6 27.6 293.2)
OKLCHoklch(0.854 0.072 285.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac9fd on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#cac9fd on black: 13.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green78.8%
Blue99.2%

CMYK percentages

Cyan20.2%
Magenta20.6%
Yellow0.0%
Key (black)0.8%

Color previews

#cac9fd text on a black background

contrast 13.28:1

Card sample

#cac9fd text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac9fd in the Color Lab