Skip to content

#cdcbf2

a pale, vivid blue · warm · closest name: lavender

RGB
205, 203, 242
HSL
243°, 60%, 87%
CMYK
15, 16, 0, 5
Luminance
0.6210

Every format

HEX#cdcbf2
RGBrgb(205, 203, 242)
HSLhsl(243, 60%, 87%)
CMYKcmyk(15%, 16%, 0%, 5%)
LABlab(83.0 8.3 -18.9)
LCHlch(83.0 20.7 293.8)
OKLCHoklch(0.856 0.054 287.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcbf2 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#cdcbf2 on black: 13.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue94.9%

CMYK percentages

Cyan15.3%
Magenta16.1%
Yellow0.0%
Key (black)5.1%

Color previews

#cdcbf2 text on a black background

contrast 13.42:1

Card sample

#cdcbf2 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcbf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcbf2 in the Color Lab