Skip to content

#ccb2ff

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

RGB
204, 178, 255
HSL
260°, 100%, 85%
CMYK
20, 30, 0, 0
Luminance
0.5190

Every format

HEX#ccb2ff
RGBrgb(204, 178, 255)
HSLhsl(260, 100%, 85%)
CMYKcmyk(20%, 30%, 0%, 0%)
LABlab(77.2 24.4 -34.6)
LCHlch(77.2 42.4 305.1)
OKLCHoklch(0.813 0.110 299.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb2ff on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#ccb2ff on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green69.8%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta30.2%
Yellow0.0%
Key (black)0.0%

Color previews

#ccb2ff text on a black background

contrast 11.38:1

Card sample

#ccb2ff text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb2ff in the Color Lab