Skip to content

#cbc2db

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

RGB
203, 194, 219
HSL
262°, 26%, 81%
CMYK
7, 11, 0, 14
Luminance
0.5639

Every format

HEX#cbc2db
RGBrgb(203, 194, 219)
HSLhsl(262, 26%, 81%)
CMYKcmyk(7%, 11%, 0%, 14%)
LABlab(79.8 7.8 -11.3)
LCHlch(79.8 13.8 304.6)
OKLCHoklch(0.829 0.036 302.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green76.1%
Blue85.9%

CMYK percentages

Cyan7.3%
Magenta11.4%
Yellow0.0%
Key (black)14.1%

Color previews

#cbc2db text on a black background

contrast 12.28:1

Card sample

#cbc2db text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbc2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbc2db in the Color Lab