Skip to content

#cdc1df

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

RGB
205, 193, 223
HSL
264°, 32%, 82%
CMYK
8, 14, 0, 13
Luminance
0.5645

Every format

HEX#cdc1df
RGBrgb(205, 193, 223)
HSLhsl(264, 32%, 82%)
CMYKcmyk(8%, 14%, 0%, 13%)
LABlab(79.9 9.8 -13.4)
LCHlch(79.9 16.6 306.2)
OKLCHoklch(0.830 0.043 303.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdc1df on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cdc1df on black: 12.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green75.7%
Blue87.5%

CMYK percentages

Cyan8.1%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#cdc1df text on a black background

contrast 12.29:1

Card sample

#cdc1df text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc1df in the Color Lab