Skip to content

#d7cfee

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

RGB
215, 207, 238
HSL
256°, 48%, 87%
CMYK
10, 13, 0, 7
Luminance
0.6525

Every format

HEX#d7cfee
RGBrgb(215, 207, 238)
HSLhsl(256, 48%, 87%)
CMYKcmyk(10%, 13%, 0%, 7%)
LABlab(84.6 8.6 -14.2)
LCHlch(84.6 16.6 301.1)
OKLCHoklch(0.871 0.043 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7cfee on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#d7cfee on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green81.2%
Blue93.3%

CMYK percentages

Cyan9.7%
Magenta13.0%
Yellow0.0%
Key (black)6.7%

Color previews

#d7cfee text on a black background

contrast 14.05:1

Card sample

#d7cfee text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cfee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7cfee in the Color Lab