Skip to content

#cdc3dc

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

RGB
205, 195, 220
HSL
264°, 26%, 81%
CMYK
7, 11, 0, 14
Luminance
0.5718

Every format

HEX#cdc3dc
RGBrgb(205, 195, 220)
HSLhsl(264, 26%, 81%)
CMYKcmyk(7%, 11%, 0%, 14%)
LABlab(80.3 8.2 -11.2)
LCHlch(80.3 13.8 306.1)
OKLCHoklch(0.833 0.036 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdc3dc on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cdc3dc on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green76.5%
Blue86.3%

CMYK percentages

Cyan6.8%
Magenta11.4%
Yellow0.0%
Key (black)13.7%

Color previews

#cdc3dc text on a black background

contrast 12.44:1

Card sample

#cdc3dc text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc3dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc3dc in the Color Lab