Skip to content

#cbc2dc

a light, soft violet · warm · closest name: lavender

RGB
203, 194, 220
HSL
261°, 27%, 81%
CMYK
8, 12, 0, 14
Luminance
0.5645

Every format

HEX#cbc2dc
RGBrgb(203, 194, 220)
HSLhsl(261, 27%, 81%)
CMYKcmyk(8%, 12%, 0%, 14%)
LABlab(79.9 8.0 -11.8)
LCHlch(79.9 14.3 304.2)
OKLCHoklch(0.830 0.037 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green76.1%
Blue86.3%

CMYK percentages

Cyan7.7%
Magenta11.8%
Yellow0.0%
Key (black)13.7%

Color previews

#cbc2dc text on a black background

contrast 12.29:1

Card sample

#cbc2dc text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 194, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 194, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbc2dc;
background: linear-gradient(135deg, #cbc2dc, #DCC2DC);

Monochromatic scale

Palettes built from #cbc2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbc2dc in the Color Lab