Skip to content

#cac3f0

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

RGB
202, 195, 240
HSL
249°, 60%, 85%
CMYK
16, 19, 0, 6
Luminance
0.5788

Every format

HEX#cac3f0
RGBrgb(202, 195, 240)
HSLhsl(249, 60%, 85%)
CMYKcmyk(16%, 19%, 0%, 6%)
LABlab(80.7 11.3 -21.3)
LCHlch(80.7 24.1 297.8)
OKLCHoklch(0.838 0.063 292.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac3f0 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cac3f0 on black: 12.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.5%
Blue94.1%

CMYK percentages

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

Color previews

#cac3f0 text on a black background

contrast 12.58:1

Card sample

#cac3f0 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac3f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac3f0 in the Color Lab