Skip to content

#ccafd3

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

RGB
204, 175, 211
HSL
288°, 29%, 76%
CMYK
3, 17, 0, 17
Luminance
0.4820

Every format

HEX#ccafd3
RGBrgb(204, 175, 211)
HSLhsl(288, 29%, 76%)
CMYKcmyk(3%, 17%, 0%, 17%)
LABlab(75.0 16.9 -14.3)
LCHlch(75.0 22.1 319.7)
OKLCHoklch(0.790 0.059 319.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccafd3 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#ccafd3 on black: 10.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green68.6%
Blue82.7%

CMYK percentages

Cyan3.3%
Magenta17.1%
Yellow0.0%
Key (black)17.3%

Color previews

#ccafd3 text on a black background

contrast 10.64:1

Card sample

#ccafd3 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccafd3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccafd3 in the Color Lab