Skip to content

#cac9ff

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

RGB
202, 201, 255
HSL
241°, 100%, 89%
CMYK
21, 21, 0, 0
Luminance
0.6155

Every format

HEX#cac9ff
RGBrgb(202, 201, 255)
HSLhsl(241, 100%, 89%)
CMYKcmyk(21%, 21%, 0%, 0%)
LABlab(82.7 11.3 -26.3)
LCHlch(82.7 28.6 293.3)
OKLCHoklch(0.855 0.075 285.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green78.8%
Blue100.0%

CMYK percentages

Cyan20.8%
Magenta21.2%
Yellow0.0%
Key (black)0.0%

Color previews

#cac9ff text on a black background

contrast 13.31:1

Card sample

#cac9ff text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac9ff in the Color Lab