Skip to content

#d4bcfd

a pale, electric violet · warm · closest name: plum

RGB
212, 188, 253
HSL
262°, 94%, 87%
CMYK
16, 26, 0, 1
Luminance
0.5706

Every format

HEX#d4bcfd
RGBrgb(212, 188, 253)
HSLhsl(262, 94%, 87%)
CMYKcmyk(16%, 26%, 0%, 1%)
LABlab(80.2 20.9 -28.9)
LCHlch(80.2 35.7 305.9)
OKLCHoklch(0.838 0.093 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4bcfd on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#d4bcfd on black: 12.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green73.7%
Blue99.2%

CMYK percentages

Cyan16.2%
Magenta25.7%
Yellow0.0%
Key (black)0.8%

Color previews

#d4bcfd text on a black background

contrast 12.41:1

Card sample

#d4bcfd text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4bcfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4bcfd in the Color Lab