Skip to content

#d9bcff

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

RGB
217, 188, 255
HSL
266°, 100%, 87%
CMYK
15, 26, 0, 0
Luminance
0.5794

Every format

HEX#d9bcff
RGBrgb(217, 188, 255)
HSLhsl(266, 100%, 87%)
CMYKcmyk(15%, 26%, 0%, 0%)
LABlab(80.7 22.9 -29.2)
LCHlch(80.7 37.1 308.1)
OKLCHoklch(0.843 0.097 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9bcff on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#d9bcff on black: 12.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green73.7%
Blue100.0%

CMYK percentages

Cyan14.9%
Magenta26.3%
Yellow0.0%
Key (black)0.0%

Color previews

#d9bcff text on a black background

contrast 12.59:1

Card sample

#d9bcff text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9bcff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9bcff in the Color Lab