Skip to content

#cac5ff

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

RGB
202, 197, 255
HSL
245°, 100%, 89%
CMYK
21, 23, 0, 0
Luminance
0.5971

Every format

HEX#cac5ff
RGBrgb(202, 197, 255)
HSLhsl(245, 100%, 89%)
CMYKcmyk(21%, 23%, 0%, 0%)
LABlab(81.7 13.5 -27.8)
LCHlch(81.7 30.9 295.8)
OKLCHoklch(0.847 0.080 288.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac5ff on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cac5ff on black: 12.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green77.3%
Blue100.0%

CMYK percentages

Cyan20.8%
Magenta22.7%
Yellow0.0%
Key (black)0.0%

Color previews

#cac5ff text on a black background

contrast 12.94:1

Card sample

#cac5ff text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac5ff in the Color Lab