Skip to content

#ccbfef

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

RGB
204, 191, 239
HSL
256°, 60%, 84%
CMYK
15, 20, 0, 6
Luminance
0.5633

Every format

HEX#ccbfef
RGBrgb(204, 191, 239)
HSLhsl(256, 60%, 84%)
CMYKcmyk(15%, 20%, 0%, 6%)
LABlab(79.8 13.8 -22.1)
LCHlch(79.8 26.1 302.1)
OKLCHoklch(0.831 0.068 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbfef on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#ccbfef on black: 12.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green74.9%
Blue93.7%

CMYK percentages

Cyan14.6%
Magenta20.1%
Yellow0.0%
Key (black)6.3%

Color previews

#ccbfef text on a black background

contrast 12.27:1

Card sample

#ccbfef text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbfef in the Color Lab