Skip to content

#ccafec

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

RGB
204, 175, 236
HSL
269°, 62%, 81%
CMYK
14, 26, 0, 8
Luminance
0.4955

Every format

HEX#ccafec
RGBrgb(204, 175, 236)
HSLhsl(269, 62%, 81%)
CMYKcmyk(14%, 26%, 0%, 8%)
LABlab(75.8 21.9 -26.6)
LCHlch(75.8 34.5 309.5)
OKLCHoklch(0.800 0.090 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green68.6%
Blue92.5%

CMYK percentages

Cyan13.6%
Magenta25.8%
Yellow0.0%
Key (black)7.5%

Color previews

#ccafec text on a black background

contrast 10.91:1

Card sample

#ccafec text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccafec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccafec in the Color Lab