Skip to content

#ccbaf4

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

RGB
204, 186, 244
HSL
259°, 73%, 84%
CMYK
16, 24, 0, 4
Luminance
0.5449

Every format

HEX#ccbaf4
RGBrgb(204, 186, 244)
HSLhsl(259, 73%, 84%)
CMYKcmyk(16%, 24%, 0%, 4%)
LABlab(78.7 17.6 -26.4)
LCHlch(78.7 31.7 303.7)
OKLCHoklch(0.824 0.082 298.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbaf4 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ccbaf4 on black: 11.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green72.9%
Blue95.7%

CMYK percentages

Cyan16.4%
Magenta23.8%
Yellow0.0%
Key (black)4.3%

Color previews

#ccbaf4 text on a black background

contrast 11.90:1

Card sample

#ccbaf4 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbaf4 in the Color Lab