Skip to content

#cac0f0

a light, vivid blue · warm · closest name: lavender

RGB
202, 192, 240
HSL
253°, 62%, 85%
CMYK
16, 20, 0, 6
Luminance
0.5655

Every format

HEX#cac0f0
RGBrgb(202, 192, 240)
HSLhsl(253, 62%, 85%)
CMYKcmyk(16%, 20%, 0%, 6%)
LABlab(79.9 12.9 -22.5)
LCHlch(79.9 25.9 299.8)
OKLCHoklch(0.832 0.067 294.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac0f0 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cac0f0 on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green75.3%
Blue94.1%

CMYK percentages

Cyan15.8%
Magenta20.0%
Yellow0.0%
Key (black)5.9%

Color previews

#cac0f0 text on a black background

contrast 12.31:1

Card sample

#cac0f0 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac0f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac0f0 in the Color Lab