Skip to content

#cac7df

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

RGB
202, 199, 223
HSL
248°, 27%, 83%
CMYK
9, 11, 0, 13
Luminance
0.5873

Every format

HEX#cac7df
RGBrgb(202, 199, 223)
HSLhsl(248, 27%, 83%)
CMYKcmyk(9%, 11%, 0%, 13%)
LABlab(81.1 5.6 -11.5)
LCHlch(81.1 12.8 296.0)
OKLCHoklch(0.840 0.033 291.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac7df on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cac7df on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green78.0%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#cac7df text on a black background

contrast 12.75:1

Card sample

#cac7df text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac7df in the Color Lab