Skip to content

#ccb0f2

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

RGB
204, 176, 242
HSL
266°, 72%, 82%
CMYK
16, 27, 0, 5
Luminance
0.5030

Every format

HEX#ccb0f2
RGBrgb(204, 176, 242)
HSLhsl(266, 72%, 82%)
CMYKcmyk(16%, 27%, 0%, 5%)
LABlab(76.3 22.6 -29.1)
LCHlch(76.3 36.9 307.9)
OKLCHoklch(0.804 0.096 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb0f2 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#ccb0f2 on black: 11.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green69.0%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta27.3%
Yellow0.0%
Key (black)5.1%

Color previews

#ccb0f2 text on a black background

contrast 11.06:1

Card sample

#ccb0f2 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccb0f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccb0f2 in the Color Lab