Skip to content

#cac2ff

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

RGB
202, 194, 255
HSL
248°, 100%, 88%
CMYK
21, 24, 0, 0
Luminance
0.5836

Every format

HEX#cac2ff
RGBrgb(202, 194, 255)
HSLhsl(248, 100%, 88%)
CMYKcmyk(21%, 24%, 0%, 0%)
LABlab(80.9 15.1 -28.9)
LCHlch(80.9 32.6 297.5)
OKLCHoklch(0.841 0.085 290.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac2ff on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cac2ff on black: 12.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.1%
Blue100.0%

CMYK percentages

Cyan20.8%
Magenta23.9%
Yellow0.0%
Key (black)0.0%

Color previews

#cac2ff text on a black background

contrast 12.67:1

Card sample

#cac2ff text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac2ff in the Color Lab