Skip to content

#cac1df

a light, soft violet · warm · closest name: lavender

RGB
202, 193, 223
HSL
258°, 32%, 82%
CMYK
9, 14, 0, 13
Luminance
0.5602

Every format

HEX#cac1df
RGBrgb(202, 193, 223)
HSLhsl(258, 32%, 82%)
CMYKcmyk(9%, 14%, 0%, 13%)
LABlab(79.6 8.8 -13.8)
LCHlch(79.6 16.4 302.6)
OKLCHoklch(0.828 0.043 299.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac1df on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#cac1df on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green75.7%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cac1df text on a black background

contrast 12.20:1

Card sample

#cac1df text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac1df in the Color Lab