Skip to content

#d0baf9

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

RGB
208, 186, 249
HSL
261°, 84%, 85%
CMYK
17, 25, 0, 2
Luminance
0.5537

Every format

HEX#d0baf9
RGBrgb(208, 186, 249)
HSLhsl(261, 84%, 85%)
CMYKcmyk(17%, 25%, 0%, 2%)
LABlab(79.3 19.9 -28.3)
LCHlch(79.3 34.6 305.2)
OKLCHoklch(0.829 0.090 300.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0baf9 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#d0baf9 on black: 12.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green72.9%
Blue97.6%

CMYK percentages

Cyan16.5%
Magenta25.3%
Yellow0.0%
Key (black)2.4%

Color previews

#d0baf9 text on a black background

contrast 12.07:1

Card sample

#d0baf9 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0baf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0baf9 in the Color Lab