Skip to content

#ccaefd

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

RGB
204, 174, 253
HSL
263°, 95%, 84%
CMYK
19, 31, 0, 1
Luminance
0.5020

Every format

HEX#ccaefd
RGBrgb(204, 174, 253)
HSLhsl(263, 95%, 84%)
CMYKcmyk(19%, 31%, 0%, 1%)
LABlab(76.2 26.1 -35.2)
LCHlch(76.2 43.8 306.6)
OKLCHoklch(0.805 0.114 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccaefd on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#ccaefd on black: 11.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green68.2%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta31.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ccaefd text on a black background

contrast 11.04:1

Card sample

#ccaefd text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccaefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccaefd in the Color Lab