Skip to content

#ccacf8

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

RGB
204, 172, 248
HSL
265°, 84%, 82%
CMYK
18, 31, 0, 3
Luminance
0.4912

Every format

HEX#ccacf8
RGBrgb(204, 172, 248)
HSLhsl(265, 84%, 82%)
CMYKcmyk(18%, 31%, 0%, 3%)
LABlab(75.5 26.1 -33.5)
LCHlch(75.5 42.5 308.0)
OKLCHoklch(0.799 0.110 303.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccacf8 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ccacf8 on black: 10.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue97.3%

CMYK percentages

Cyan17.7%
Magenta30.6%
Yellow0.0%
Key (black)2.7%

Color previews

#ccacf8 text on a black background

contrast 10.82:1

Card sample

#ccacf8 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccacf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccacf8 in the Color Lab