Skip to content

#ccbae2

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

RGB
204, 186, 226
HSL
267°, 41%, 81%
CMYK
10, 18, 0, 11
Luminance
0.5345

Every format

HEX#ccbae2
RGBrgb(204, 186, 226)
HSLhsl(267, 41%, 81%)
CMYKcmyk(10%, 18%, 0%, 11%)
LABlab(78.1 13.9 -17.6)
LCHlch(78.1 22.4 308.2)
OKLCHoklch(0.817 0.059 305.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green72.9%
Blue88.6%

CMYK percentages

Cyan9.7%
Magenta17.7%
Yellow0.0%
Key (black)11.4%

Color previews

#ccbae2 text on a black background

contrast 11.69:1

Card sample

#ccbae2 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbae2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbae2 in the Color Lab