Skip to content

#cac6df

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

RGB
202, 198, 223
HSL
250°, 28%, 83%
CMYK
9, 11, 0, 13
Luminance
0.5827

Every format

HEX#cac6df
RGBrgb(202, 198, 223)
HSLhsl(250, 28%, 83%)
CMYKcmyk(9%, 11%, 0%, 13%)
LABlab(80.9 6.2 -11.9)
LCHlch(80.9 13.4 297.3)
OKLCHoklch(0.838 0.035 293.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac6df on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cac6df on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green77.6%
Blue87.5%

CMYK percentages

Cyan9.4%
Magenta11.2%
Yellow0.0%
Key (black)12.5%

Color previews

#cac6df text on a black background

contrast 12.65:1

Card sample

#cac6df text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac6df in the Color Lab