Skip to content

#ccacf3

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

RGB
204, 172, 243
HSL
267°, 75%, 81%
CMYK
16, 29, 0, 5
Luminance
0.4881

Every format

HEX#ccacf3
RGBrgb(204, 172, 243)
HSLhsl(267, 75%, 81%)
CMYKcmyk(16%, 29%, 0%, 5%)
LABlab(75.3 25.1 -31.1)
LCHlch(75.3 39.9 308.9)
OKLCHoklch(0.797 0.104 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccacf3 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#ccacf3 on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue95.3%

CMYK percentages

Cyan16.0%
Magenta29.2%
Yellow0.0%
Key (black)4.7%

Color previews

#ccacf3 text on a black background

contrast 10.76:1

Card sample

#ccacf3 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccacf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccacf3 in the Color Lab