Skip to content

#dfbaef

a light, vivid violet · warm · closest name: plum

RGB
223, 186, 239
HSL
282°, 62%, 83%
CMYK
7, 22, 0, 6
Luminance
0.5704

Every format

HEX#dfbaef
RGBrgb(223, 186, 239)
HSLhsl(282, 62%, 83%)
CMYKcmyk(7%, 22%, 0%, 6%)
LABlab(80.2 22.6 -21.4)
LCHlch(80.2 31.1 316.6)
OKLCHoklch(0.838 0.083 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta22.2%
Yellow0.0%
Key (black)6.3%

Color previews

#dfbaef text on a black background

contrast 12.41:1

Card sample

#dfbaef text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbaef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbaef in the Color Lab