Skip to content

#ccb9df

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

RGB
204, 185, 223
HSL
270°, 37%, 80%
CMYK
9, 17, 0, 13
Luminance
0.5286

Every format

HEX#ccb9df
RGBrgb(204, 185, 223)
HSLhsl(270, 37%, 80%)
CMYKcmyk(9%, 17%, 0%, 13%)
LABlab(77.8 13.8 -16.5)
LCHlch(77.8 21.5 309.9)
OKLCHoklch(0.814 0.056 307.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb9df on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#ccb9df on black: 11.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan8.5%
Magenta17.0%
Yellow0.0%
Key (black)12.5%

Color previews

#ccb9df text on a black background

contrast 11.57:1

Card sample

#ccb9df text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb9df in the Color Lab