Skip to content

#ccbadf

a light, soft violet · warm · closest name: lavender

RGB
204, 186, 223
HSL
269°, 37%, 80%
CMYK
9, 17, 0, 13
Luminance
0.5328

Every format

HEX#ccbadf
RGBrgb(204, 186, 223)
HSLhsl(269, 37%, 80%)
CMYKcmyk(9%, 17%, 0%, 13%)
LABlab(78.0 13.3 -16.2)
LCHlch(78.0 20.9 309.4)
OKLCHoklch(0.816 0.055 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbadf on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ccbadf on black: 11.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green72.9%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta16.6%
Yellow0.0%
Key (black)12.5%

Color previews

#ccbadf text on a black background

contrast 11.66:1

Card sample

#ccbadf text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbadf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbadf in the Color Lab