Skip to content

#cac4fd

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

RGB
202, 196, 253
HSL
246°, 93%, 88%
CMYK
20, 23, 0, 1
Luminance
0.5913

Every format

HEX#cac4fd
RGBrgb(202, 196, 253)
HSLhsl(246, 93%, 88%)
CMYKcmyk(20%, 23%, 0%, 1%)
LABlab(81.4 13.6 -27.2)
LCHlch(81.4 30.4 296.5)
OKLCHoklch(0.844 0.079 289.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac4fd on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cac4fd on black: 12.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.9%
Blue99.2%

CMYK percentages

Cyan20.2%
Magenta22.5%
Yellow0.0%
Key (black)0.8%

Color previews

#cac4fd text on a black background

contrast 12.83:1

Card sample

#cac4fd text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac4fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac4fd in the Color Lab