Skip to content

#ccacff

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

RGB
204, 172, 255
HSL
263°, 100%, 84%
CMYK
20, 33, 0, 0
Luminance
0.4956

Every format

HEX#ccacff
RGBrgb(204, 172, 255)
HSLhsl(263, 100%, 84%)
CMYKcmyk(20%, 33%, 0%, 0%)
LABlab(75.8 27.7 -36.9)
LCHlch(75.8 46.1 306.9)
OKLCHoklch(0.802 0.119 301.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green67.5%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#ccacff text on a black background

contrast 10.91:1

Card sample

#ccacff text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccacff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccacff in the Color Lab