Skip to content

#cdafdf

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

RGB
205, 175, 223
HSL
278°, 43%, 78%
CMYK
8, 22, 0, 13
Luminance
0.4897

Every format

HEX#cdafdf
RGBrgb(205, 175, 223)
HSLhsl(278, 43%, 78%)
CMYKcmyk(8%, 22%, 0%, 13%)
LABlab(75.4 19.6 -20.1)
LCHlch(75.4 28.1 314.2)
OKLCHoklch(0.796 0.074 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdafdf on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cdafdf on black: 10.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green68.6%
Blue87.5%

CMYK percentages

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

Color previews

#cdafdf text on a black background

contrast 10.79:1

Card sample

#cdafdf text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdafdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdafdf in the Color Lab