Skip to content

#ccb2df

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

RGB
204, 178, 223
HSL
275°, 41%, 79%
CMYK
9, 20, 0, 13
Luminance
0.5001

Every format

HEX#ccb2df
RGBrgb(204, 178, 223)
HSLhsl(275, 41%, 79%)
CMYKcmyk(9%, 20%, 0%, 13%)
LABlab(76.1 17.6 -19.1)
LCHlch(76.1 26.0 312.6)
OKLCHoklch(0.800 0.068 310.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb2df on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#ccb2df on black: 11.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green69.8%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#ccb2df text on a black background

contrast 11.00:1

Card sample

#ccb2df text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb2df in the Color Lab