Skip to content

#ccafed

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

RGB
204, 175, 237
HSL
268°, 63%, 81%
CMYK
14, 26, 0, 7
Luminance
0.4961

Every format

HEX#ccafed
RGBrgb(204, 175, 237)
HSLhsl(268, 63%, 81%)
CMYKcmyk(14%, 26%, 0%, 7%)
LABlab(75.8 22.1 -27.1)
LCHlch(75.8 35.0 309.2)
OKLCHoklch(0.800 0.091 305.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccafed on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#ccafed on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green68.6%
Blue92.9%

CMYK percentages

Cyan13.9%
Magenta26.2%
Yellow0.0%
Key (black)7.1%

Color previews

#ccafed text on a black background

contrast 10.92:1

Card sample

#ccafed text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccafed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccafed in the Color Lab