Skip to content

#d4bbff

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

RGB
212, 187, 255
HSL
262°, 100%, 87%
CMYK
17, 27, 0, 0
Luminance
0.5676

Every format

HEX#d4bbff
RGBrgb(212, 187, 255)
HSLhsl(262, 100%, 87%)
CMYKcmyk(17%, 27%, 0%, 0%)
LABlab(80.0 21.9 -30.3)
LCHlch(80.0 37.4 305.9)
OKLCHoklch(0.836 0.097 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green73.3%
Blue100.0%

CMYK percentages

Cyan16.9%
Magenta26.7%
Yellow0.0%
Key (black)0.0%

Color previews

#d4bbff text on a black background

contrast 12.35:1

Card sample

#d4bbff text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4bbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4bbff in the Color Lab