Skip to content

#ccb4ff

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

RGB
204, 180, 255
HSL
259°, 100%, 85%
CMYK
20, 29, 0, 0
Luminance
0.5270

Every format

HEX#ccb4ff
RGBrgb(204, 180, 255)
HSLhsl(259, 100%, 85%)
CMYKcmyk(20%, 29%, 0%, 0%)
LABlab(77.7 23.3 -33.9)
LCHlch(77.7 41.1 304.5)
OKLCHoklch(0.817 0.107 298.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb4ff on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#ccb4ff on black: 11.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green70.6%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta29.4%
Yellow0.0%
Key (black)0.0%

Color previews

#ccb4ff text on a black background

contrast 11.54:1

Card sample

#ccb4ff text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb4ff in the Color Lab