Skip to content

#ccacfd

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

RGB
204, 172, 253
HSL
264°, 95%, 83%
CMYK
19, 32, 0, 1
Luminance
0.4943

Every format

HEX#ccacfd
RGBrgb(204, 172, 253)
HSLhsl(264, 95%, 83%)
CMYKcmyk(19%, 32%, 0%, 1%)
LABlab(75.7 27.2 -35.9)
LCHlch(75.7 45.1 307.2)
OKLCHoklch(0.801 0.117 302.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccacfd on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#ccacfd on black: 10.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#ccacfd text on a black background

contrast 10.89:1

Card sample

#ccacfd text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccacfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccacfd in the Color Lab