Skip to content

#d9baff

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

RGB
217, 186, 255
HSL
267°, 100%, 87%
CMYK
15, 27, 0, 0
Luminance
0.5709

Every format

HEX#d9baff
RGBrgb(217, 186, 255)
HSLhsl(267, 100%, 87%)
CMYKcmyk(15%, 27%, 0%, 0%)
LABlab(80.2 24.0 -29.9)
LCHlch(80.2 38.3 308.7)
OKLCHoklch(0.839 0.100 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.1%
Green72.9%
Blue100.0%

CMYK percentages

Cyan14.9%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#d9baff text on a black background

contrast 12.42:1

Card sample

#d9baff text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9baff in the Color Lab