Skip to content

#cdcbff

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

RGB
205, 203, 255
HSL
242°, 100%, 90%
CMYK
20, 20, 0, 0
Luminance
0.6291

Every format

HEX#cdcbff
RGBrgb(205, 203, 255)
HSLhsl(242, 100%, 90%)
CMYKcmyk(20%, 20%, 0%, 0%)
LABlab(83.4 11.1 -25.2)
LCHlch(83.4 27.5 293.9)
OKLCHoklch(0.861 0.072 286.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcbff on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cdcbff on black: 13.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green79.6%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta20.4%
Yellow0.0%
Key (black)0.0%

Color previews

#cdcbff text on a black background

contrast 13.58:1

Card sample

#cdcbff text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcbff in the Color Lab