Skip to content

#ccbaff

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

RGB
204, 186, 255
HSL
256°, 100%, 87%
CMYK
20, 27, 0, 0
Luminance
0.5518

Every format

HEX#ccbaff
RGBrgb(204, 186, 255)
HSLhsl(256, 100%, 87%)
CMYKcmyk(20%, 27%, 0%, 0%)
LABlab(79.1 20.0 -31.7)
LCHlch(79.1 37.5 302.3)
OKLCHoklch(0.828 0.097 296.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccbaff on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#ccbaff on black: 12.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green72.9%
Blue100.0%

CMYK percentages

Cyan20.0%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#ccbaff text on a black background

contrast 12.04:1

Card sample

#ccbaff text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccbaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccbaff in the Color Lab