Skip to content

#cdc0df

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

RGB
205, 192, 223
HSL
265°, 33%, 81%
CMYK
8, 14, 0, 13
Luminance
0.5601

Every format

HEX#cdc0df
RGBrgb(205, 192, 223)
HSLhsl(265, 33%, 81%)
CMYKcmyk(8%, 14%, 0%, 13%)
LABlab(79.6 10.3 -13.8)
LCHlch(79.6 17.2 306.9)
OKLCHoklch(0.828 0.045 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdc0df on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#cdc0df on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green75.3%
Blue87.5%

CMYK percentages

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

Color previews

#cdc0df text on a black background

contrast 12.20:1

Card sample

#cdc0df text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc0df in the Color Lab