Skip to content

#d2baff

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

RGB
210, 186, 255
HSL
261°, 100%, 87%
CMYK
18, 27, 0, 0
Luminance
0.5604

Every format

HEX#d2baff
RGBrgb(210, 186, 255)
HSLhsl(261, 100%, 87%)
CMYKcmyk(18%, 27%, 0%, 0%)
LABlab(79.6 21.8 -30.9)
LCHlch(79.6 37.8 305.2)
OKLCHoklch(0.833 0.098 300.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2baff on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#d2baff on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green72.9%
Blue100.0%

CMYK percentages

Cyan17.6%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#d2baff text on a black background

contrast 12.21:1

Card sample

#d2baff text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2baff in the Color Lab