Skip to content

#ccadfe

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

RGB
204, 173, 254
HSL
263°, 98%, 84%
CMYK
20, 32, 0, 0
Luminance
0.4988

Every format

HEX#ccadfe
RGBrgb(204, 173, 254)
HSLhsl(263, 98%, 84%)
CMYKcmyk(20%, 32%, 0%, 0%)
LABlab(76.0 26.9 -36.0)
LCHlch(76.0 45.0 306.8)
OKLCHoklch(0.804 0.117 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccadfe on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#ccadfe on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.8%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta31.9%
Yellow0.0%
Key (black)0.4%

Color previews

#ccadfe text on a black background

contrast 10.98:1

Card sample

#ccadfe text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccadfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccadfe in the Color Lab