Skip to content

#cdc2df

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

RGB
205, 194, 223
HSL
263°, 31%, 82%
CMYK
8, 13, 0, 13
Luminance
0.5689

Every format

HEX#cdc2df
RGBrgb(205, 194, 223)
HSLhsl(263, 31%, 82%)
CMYKcmyk(8%, 13%, 0%, 13%)
LABlab(80.1 9.3 -13.0)
LCHlch(80.1 16.0 305.4)
OKLCHoklch(0.832 0.042 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green76.1%
Blue87.5%

CMYK percentages

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

Color previews

#cdc2df text on a black background

contrast 12.38:1

Card sample

#cdc2df text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc2df in the Color Lab