Skip to content

#d0baff

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

RGB
208, 186, 255
HSL
259°, 100%, 87%
CMYK
18, 27, 0, 0
Luminance
0.5575

Every format

HEX#d0baff
RGBrgb(208, 186, 255)
HSLhsl(259, 100%, 87%)
CMYKcmyk(18%, 27%, 0%, 0%)
LABlab(79.5 21.2 -31.2)
LCHlch(79.5 37.7 304.3)
OKLCHoklch(0.831 0.098 298.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0baff on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#d0baff on black: 12.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green72.9%
Blue100.0%

CMYK percentages

Cyan18.4%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#d0baff text on a black background

contrast 12.15:1

Card sample

#d0baff text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0baff in the Color Lab