Skip to content

#ccb4df

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

RGB
204, 180, 223
HSL
274°, 40%, 79%
CMYK
9, 19, 0, 13
Luminance
0.5081

Every format

HEX#ccb4df
RGBrgb(204, 180, 223)
HSLhsl(274, 40%, 79%)
CMYKcmyk(9%, 19%, 0%, 13%)
LABlab(76.6 16.5 -18.4)
LCHlch(76.6 24.7 311.9)
OKLCHoklch(0.804 0.065 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb4df on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#ccb4df on black: 11.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green70.6%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta19.3%
Yellow0.0%
Key (black)12.5%

Color previews

#ccb4df text on a black background

contrast 11.16:1

Card sample

#ccb4df text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb4df in the Color Lab