Skip to content

#cac3df

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

RGB
202, 195, 223
HSL
255°, 30%, 82%
CMYK
9, 13, 0, 13
Luminance
0.5691

Every format

HEX#cac3df
RGBrgb(202, 195, 223)
HSLhsl(255, 30%, 82%)
CMYKcmyk(9%, 13%, 0%, 13%)
LABlab(80.1 7.8 -13.0)
LCHlch(80.1 15.2 300.7)
OKLCHoklch(0.832 0.039 297.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac3df on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#cac3df on black: 12.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.5%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta12.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cac3df text on a black background

contrast 12.38:1

Card sample

#cac3df text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac3df in the Color Lab