Skip to content

#ccbdf2

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

RGB
204, 189, 242
HSL
257°, 67%, 85%
CMYK
16, 22, 0, 5
Luminance
0.5564

Every format

HEX#ccbdf2
RGBrgb(204, 189, 242)
HSLhsl(257, 67%, 85%)
CMYKcmyk(16%, 22%, 0%, 5%)
LABlab(79.4 15.6 -24.3)
LCHlch(79.4 28.9 302.6)
OKLCHoklch(0.828 0.075 297.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbdf2 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#ccbdf2 on black: 12.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green74.1%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta21.9%
Yellow0.0%
Key (black)5.1%

Color previews

#ccbdf2 text on a black background

contrast 12.13:1

Card sample

#ccbdf2 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbdf2 in the Color Lab