Skip to content

#d7cbff

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

RGB
215, 203, 255
HSL
254°, 100%, 90%
CMYK
16, 20, 0, 0
Luminance
0.6438

Every format

HEX#d7cbff
RGBrgb(215, 203, 255)
HSLhsl(254, 100%, 90%)
CMYKcmyk(16%, 20%, 0%, 0%)
LABlab(84.2 14.2 -23.9)
LCHlch(84.2 27.8 300.7)
OKLCHoklch(0.869 0.072 295.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7cbff on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#d7cbff on black: 13.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green79.6%
Blue100.0%

CMYK percentages

Cyan15.7%
Magenta20.4%
Yellow0.0%
Key (black)0.0%

Color previews

#d7cbff text on a black background

contrast 13.88:1

Card sample

#d7cbff text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7cbff in the Color Lab