Skip to content

#d4bfe2

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

RGB
212, 191, 226
HSL
276°, 38%, 82%
CMYK
6, 16, 0, 11
Luminance
0.5675

Every format

HEX#d4bfe2
RGBrgb(212, 191, 226)
HSLhsl(276, 38%, 82%)
CMYKcmyk(6%, 16%, 0%, 11%)
LABlab(80.0 13.8 -14.7)
LCHlch(80.0 20.1 313.1)
OKLCHoklch(0.833 0.053 311.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4bfe2 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#d4bfe2 on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green74.9%
Blue88.6%

CMYK percentages

Cyan6.2%
Magenta15.5%
Yellow0.0%
Key (black)11.4%

Color previews

#d4bfe2 text on a black background

contrast 12.35:1

Card sample

#d4bfe2 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 191, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 191, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4bfe2;
background: linear-gradient(135deg, #d4bfe2, #E2BFD9);

Monochromatic scale

Palettes built from #d4bfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4bfe2 in the Color Lab