Skip to content

#cdacdf

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

RGB
205, 172, 223
HSL
279°, 44%, 78%
CMYK
8, 23, 0, 13
Luminance
0.4781

Every format

HEX#cdacdf
RGBrgb(205, 172, 223)
HSLhsl(279, 44%, 78%)
CMYKcmyk(8%, 23%, 0%, 13%)
LABlab(74.7 21.2 -21.2)
LCHlch(74.7 30.0 315.0)
OKLCHoklch(0.790 0.079 313.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdacdf on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#cdacdf on black: 10.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green67.5%
Blue87.5%

CMYK percentages

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

Color previews

#cdacdf text on a black background

contrast 10.56:1

Card sample

#cdacdf text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdacdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdacdf in the Color Lab