Skip to content

#ccbbff

a pale, electric violet · warm · closest name: plum

RGB
204, 187, 255
HSL
255°, 100%, 87%
CMYK
20, 27, 0, 0
Luminance
0.5560

Every format

HEX#ccbbff
RGBrgb(204, 187, 255)
HSLhsl(255, 100%, 87%)
CMYKcmyk(20%, 27%, 0%, 0%)
LABlab(79.4 19.5 -31.3)
LCHlch(79.4 36.9 301.9)
OKLCHoklch(0.830 0.096 295.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green73.3%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta26.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ccbbff text on a black background

contrast 12.12:1

Card sample

#ccbbff text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbbff in the Color Lab